Certainly the Pope has erred on the matters of faith and morals of the Priests and Bishops.
only if he declared that it was the official policy of the Catholic Church that their behavior was now acceptable by the church....He didn't