>>216441221
The tl;dr version is that Emperor Rudolf II. granted the bohemian estates freedom of religion, the inviolability of property and most importantly the right to built and maintain churches on lands of the Bohemian Crown in the so called Letter of Majesty of 1609. But it was unclear whether the lands of donations to the catholic church (called Stifte in german) were included in the lands of the Bohemian Crown as well. The destruction of a protestant church in one of those Stifte and the fact that Emperor Ferdinand II. didn't give a shit about the Letter of Majesty from 1609 were primary causes of the 30 Years War.
And this whole affair was also preceded by internal Austro-Habsburg conflicts about who was fit to rule - the so called Brothers Quarrel of the House Habsburg.
I've made an effort post a while ago about this:
https://desuarchive.org/his/thread/17612858/#q17617127
Search for post Nr. 17617112 in this archived thread and the following five posts shed light on this background.