The teachings of the Catholic Church are protected from error by the Holy Spirit. They are without error.
That is not correct; not even the Catholic Church claims that! Anything from the Ordinary Magisterium is by definition fallible.
Veneration of the Church is a dangerous thing... Since the Ordinary Magisterium is where 99% of the teachings of the Church come from, that means 99% of the teachings of the Church may in fact - per the Church's own dogma - be fallible.