There’s a whole slew of canons and anathemas proclaimed in the Council of Trent, which were no rescinded by Vatican II, that say otherwise.
The problem Catholics have is that their overly complicated catechism of the Catholic Church says otherwise, and when someone calls Catholics on it, they go through a great deal of effort explaining that that’s not what it “really” says.
Well, if it’s so unclear that it is so easily misunderstood, perhaps it might behoove the Catholic church to simplify its catechism. It would clear up a lot of misunderstanding both within and without of Catholicism.
They could never simplify it enough to clear up the misunderstanding of those who set out to misunderstand and never waver from that goal.