‘Devil’s advocate’ was a real job until 1983.

Any time the Catholic church wanted to canonize a saint, an official acted as the devil’s advocate by questioning the candidate’s saintliness and arguing against their supposed miracles. If the potential saint could hold up to the intense criticism, the church knew they officially deserved the title.

SourceSource 2