Here's how they did it in the USSR (via the guardian):
A secret Soviet-era document uncovered in Estonia suggests that Patriarch Alexy II, the head of the Russian Orthodox Church and spiritual leader of tens of millions of Christians, was a fully fledged KGB agent.