There was a cadre of Chinese students who were educated abroad to be diplomats. The program was scrapped when it was found the students wound up pro-democracy. They do something else now, but it is not clear if it works. Party loyalty enforced by the state ignoring your corruption seems likely, as proposed elsewhere.