I'm playing as HRE. Late era campaign. I am excommunicated.

Even with no heretics in my land. High level priests will just turn to heretics. As this a feature or bug? Is it a consequence of being...