The dogma of the indefectibility of the Church was taught by the 4th Council of Constantinople, the Second Council of Lyons, the Council of Florence, and the First Council of the Vatican. This dogma is based on the words of Jesus that because Peter is the Rock on which the Church is founded, the Church cannot fail. Therefore, Peter cannot fail in his teaching or his faith. For the Rock cannot turn to sand, nor can the Church be built upon a Rock that is false.
The true valid Roman Pontiff is that Pope whom the body of Bishops accepts as their head. If the body of Bishops were ever to accept a false or invalid head, the Church would have lost Her indefectibility. The true valid Pope is therefore the one accepted by the body of Bishops. And since the words of Jesus on Peter as Rock cannot fail in their effect, Peter cannot fail in truth or faith. If Peter could teach grave error, or could fail in faith by apostasy, heresy, or idolatry, then the words of Jesus would have failed in their effect. Yet is it dogma that they cannot so fail. Therefore, neither can any of Peter’s successors so fail.
The result is that, if anyone should accuse any Roman Pontiff of a grave error on doctrine or discipline, or of a grave failure of faith, such as apostasy, heresy, or idolatry, he commits the sins of formal schism and of formal heresy. For he denies the above dogmas of the above Councils, and thereby denies the teaching of Christ himself. And he separates himself from communion with the Apostolic See. And this is true for any rejection of any Pope, past or present. Since Vatican I especially, they commit heresy and schism who reject any Pope as heretics or apostates or idolaters, including Vigilius, Marcellinus, Honorius, John XXII, Saint John XXIII, Saint Paul VI, Saint John Paul II, and Francis. For the Rock on which the Church is founded is not only Peter, the past and first Roman Pontiff, not only the current Roman Pontiff, but Peter himself and each of his valid successors.
Therefore, when Pope Francis resigns or dies, and a new Pope is elected, those who continue to reject the Papacy and teaching of Pope Francis are condemned forever as perpetual heretics and schismatics, until and unless they repent.
RLCJ
The true valid Roman Pontiff is that Pope whom the body of Bishops accepts as their head.
Could there ever be a situation in which approximately half the Bishops accept one man as Pope, and the other half another man?
No, I don’t think so. Revelation describes the worst possible situation that ever will occur, during the darkest time the Church will face:
[Revelation 12]
{12:3} And another sign was seen in heaven. And behold, a great red dragon, having seven heads and ten horns, and on his heads were seven diadems.
{12:4} And his tail drew down a third part of the stars of heaven and cast them to the earth. And the dragon stood before the woman, who was about to give birth, so that, when she had brought forth, he might devour her son.
The dragon is the kingdom of the Antichrist. The stars are the Bishops of the Church; they are the light of the world during that dark time. (There’s no Pope during the 7 year reign of the Antichrist.) About a third of the Bishops go astray and follow the Antichrist or at least abandon Christianity rather than suffer. Yet the kingdom of God is about to be born on earth, in that the return of Christ is imminent and the Church is shining with great holiness, greater than ever before. Saints and martyrs are common among the few members of the Church at that time.
How many Saints and martyrs are in your small rural parish? Probably zero, right? In that time, every small parish will have a dozen or more Saints and almost all will be willing to be martyrs. Those marked with the Seal will guide even the Saints and martyrs, so that the scattered Church will have great light everywhere, during a time of intense darkness in secular society (which becomes the society of the Antichrist’s false religion).