The importance of not challenging church teaching is seen in the contrast of two gay-priest scandals of the Francis pontificate. The first is the case of Msgr. Battista Ricca, a Vatican diplomat who, while stationed in Uruguay, reportedly lived with a man, was beaten at a cruising spot and once got stuck in an elevator with a rent boy. (In Uruguay, the age of consent is 15.) These facts were concealed from Pope Francis, who in 2013 appointed Monsignor Ricca to a position of oversight at the Vatican Bank.

After Monsignor Ricca’s sins were exposed, Francis chose to stand by him, famously saying, “Who am I to judge?” Msgr. Krzysztof Charamsa suffered a less happy fate. The priest, who worked at the Vatican’s Congregation for the Doctrine of Faith, announced in 2015 that he was gay and had a male partner, and asked the church to change its teaching. He was immediately fired. Both Monsignor Ricca and Monsignor Charamsa had sinned, but only one had stepped out of line.

The other rule of the clerical closet is not violating the civil law — or at least not getting caught. Francis defended Monsignor Ricca by distinguishing between sins and crimes: “They are not crimes, right? Crimes are something different.” This distinction provides cover for sex abuse. When countless priests are allowed to live double lives, it is hard to tell who is concealing crimes. Cardinal McCarrick was widely seen as “merely” preying on adult seminarians. Now he has been credibly accused of sexual abuse of a minor.

Corrupt as this situation is, many Catholic leaders prefer it to the coming civil war. That seemed to be the attitude of Bishop Robert Barron when he called for an investigation that avoids “ideological hobby horses” like priestly celibacy and homosexuality. Bishop Barron is right to insist that accountability comes first. This is why anyone implicated in cover-up — up to and including Pope Francis — needs to resign.