No Pope has taught, and none will ever teach, error in faith and morals. Note the word “teach.” Is is rather important.
In particular it does not mean that no Pope has been, or ever will be, wrong in matters of administration, discipline, governance, and a myriad of other things. And history records that Popes have been public and notorious sinners. But here’s the thing. No Pope who committed a sin tried to cover up the sin by declaring the sinful action to be no longer sinful. Now THAT would have been a contradiction.
Calling things “contradictions” can be somewhat inapopropriate at times. For example, I began receiving the Eucharist when the Eucharistic fast was from the previous midnight for morning masses. When that was changed to one hour, it was just that: a change, not a contradiction.
And as for recourse to notoriously forged documents, in the immortal words of Charlie Brown, Oh Good Grief!
Blessings,
Gerry