Wow! I hope they tightened up their checks and balances since.
A priest who became an atheist would still be a valid Priest though. Perhaps that’s the basis for the query.
Pray for the Church, for all those who have stopped believing heaven and hell exist.