Pope Boniface VIII, Unam Sanctam: (Promulgated November 18, 1302) We declare, say, define, and pronounce [ex cathedra] that it is absolutely necessary for the salvation of every human creature to be subject to the Roman Pontiff.
"If, therefore, the Greeks or others say that they are not committed to Peter and to his successors, they necessarily say that they are not of the sheep of Christ, since the Lord says that there is only one fold and one shepherd (Jn.10:16). Whoever, therefore, resists this authority, resists the command of God Himself. " Pope Boniface VIII, Unam Sanctam (Promulgated November 18, 1302)
http://www.fordham.edu/halsall/source/b8-unam.html
Being “subject to the Pontiff” does not include following immoral commands.
Which creates a huge problem for sedevacantist churches and the Orthodox churches.
HEY!