Upvote:1
The answer is given in footnote 51 of what you quote:
The Synod teachesβ¦thatβ¦it sometimes happens that this contrition is perfect through charity, and reconciles man with God before this sacrament be actually receivedβ¦
The Council of Trent is infallible because its documents were ratified by a pope.