Well, you could have the pope adopting some reforms that do not amuse the spanish kings, like how a few churches broke off from the catholic church after Vatican 2, or something like the Old Believers in Russia. Or the Old Catholic Church.
I'm not sure what reform exactly would piss so much the...