St. Ignatius Loyola said in the 16th century :
"The white that I see," said Loyola, "I would believe to be black, if the Hierarchical Church were so to rule it."
================================
From what I read, the Jesuits probably defined the doctrine of infalliblity and gave it to Pius IX who then "surprised" his council guests with this doctrine.