In corporate law there is the concept of lifting or piercing the corporate veil, where a court will decide that the company structure is being used to escape the consequences of a contract or other agreement.
It's a pity that there's no equivalent in criminal law of lifting the religious veil, where the courts can rule that an entity is pretending to be a religion to cover up criminal activity. And IMO, giving cover to paedophiles under the two witnesses rule is criminal activity. Aiding and abetting, accessories after the fact, call it what you will.