95% of Catholicism is re-interpretation by the Church of their holy documents. Changing the mind of the church is definitely a thing - see heliocentrism.
Heliocentrism was a religiously-derived belief. There are certainly other examples - for some verses in the bible, there are hundreds of interpretations.
I am not sure how it "works" either. But, if the Catholic church could gradually change its position on slavery [1], surely it should be possible to do so on other matters as well.