Sources
Robert Bellarmine, De Romano Pontifice II.30
«Est ergo quinta opinio vera, papam haereticum manifestum per se desinere esse papam et caput, sicut per se desinit esse christianus et membrum corporis Ecclesiae: quare ab Ecclesia posse eum iudicari et puniri. Haec est sententia omnium veterum Patrum, qui docent, haereticos manifestos mox amittere omnem iurisdictionem.» “The fifth opinion, then, is true: that a manifestly heretical pope by himself ceases to be pope and head, as he by himself ceases to be a Christian and a member of the body of the Church; for which reason he can be judged and punished by the Church. This is the judgment of all the ancient Fathers, who teach that manifest heretics immediately lose all jurisdiction.” In the same chapter he rejects the opinion of Cajetan, who held «posse papam haereticum ab Ecclesia deponi vere et ex auctoritate» (“that a heretical pope can be deposed by the Church truly and with authority”): if the Church deposes the pope, it is above the pope.
Opera omnia, I (1870), seen in the archive.org scan (operaomnia01bell).