The power of the keys is a symbol of authority and it is a binding authority, but how does infallibility come from that? I take it must be when using the authority of the keys.
I know there’s 3 or 4 conditions for an infallible statement.
Also, what was the historical situation at the time? Why was it necessary that the Church make such a proclamation?