from Europa Universalis IV
As either the Papal States or the Emperor, have the Papal States as an Elector while the HRE is officially Catholic.