If you knew anything about the history of the Catholic Church, you would know that the correction of the erroneous opinions or faulty behavior of popes, is an acknowledged and never-ending task.
Papal infallibility nor papal authority came from God, or the church or even the early Catholic church...
In addition to the Pseudo Isidorian Decretals there were other forgeries which were successfully used for the promotion of the doctrine of papal primacy. One famous instance is that of Thomas Aquinas. In 1264 A.D. Thomas authored a work entitled Against the Errors of the Greeks. This work deals with the issues of theological debate between the Greek and Roman Churches in that day on such subjects as the Trinity, the Procession of the Holy Spirit, Purgatory and the Papacy. In his defense of the papacy Thomas bases practically his entire argument on forged quotations of Church fathers. Under the names of the eminent Greek fathers such as Cyril of Jerusalem, John Chrysostom, Cyril of Alexandria and Maximus the Abbott, a Latin forger had compiled a catena of quotations interspersing a number that were genuine with many that were forged which was subsequently submitted to Pope Urban IV. This work became known as the Thesaurus of Greek Fathers or Thesaurus Graecorum Patrum. In addition the Latin author also included spurious canons from early Ecumenical Councils. Pope Urban in turn submitted the work to Thomas Aquinas who used many of the forged passages in his work Against the Errors of the Greeks mistakenly thinking they were genuine. These spurious quotations had enormous influence on many Western theologians in succeeding centuries. The following is a sample of Thomas argumentation for the papacy using the spurious quotations from the Thesaurus:
Donation of Constantine
The Donation of Constantine (Latin, Donatio Constantini) is a forged Roman imperial decree by which the emperor Constantine I supposedly transferred authority over Rome and the western part of the Roman Empire to the Pope.
Doesn't look too good for the authenticity of your Church...
You are trying to call into question Papal Infallibility.
But you posted material relating to “Papal Primacy” in the political realm.
The material you posted is entirely irrelevant. It’s not about Papal Infallibility at all.
Though you’d like to know.