The Pope was chosen by Conclave, and the Church teaches that in making its choice Conclave is guided by the Holy Spirit. Therefore is it not the case that Pope Francis's elevation to the papacy was the work of God himself? Or do you believe that the Holy Spirit makes mistakes?
I have to believe that this, too, is all part of the plan, and the full meaning will be revealed to us over time, if we are patient.