There have been lots of bad popes. The doctrine of papal infallibility has always been severely limited.
Good Catholics have disagreed with the pope for many reasons over millennia.
Yeah, I get it. He didn’t say “Simon Says” so the statement (and the man) can be ignored, ridiculed, mocked, whatever. My point is that the papacy has become functionally irrelevant.