Paul IV: the election of a pope who earlier fell into heresy is null (1559)
In the bull Cum ex apostolatus officio, Paul IV repeated that the Roman pontiff, whom no one judges, may be rebuked if he is found to have strayed from the faith. And he decreed that, if it should ever appear that one elected pope had earlier strayed from the Catholic faith or fallen into heresy, his election would be null, even if all the cardinals had made it in agreement and unanimously; and that neither his enthronement, nor the obedience all had given him, nor the passage of time would validate it. His subjects, and even the cardinals who elected him, could withdraw their obedience from him.
It is the chief document of the sedevacantists. In our judgment, it shows that Rome itself contemplated an illegitimate pope recognized by the whole Church; and it leaves unanswered who declares that the case has arisen, if the pope has no superior on earth.