Bavaria alone acquired some 14 000 square kilometers of land (after having loss some 10 000 sq km in the wars), plus the attending population and revenues from bishoprics, monasteries, abbeys, and convents (in addition to a few autonomous enclaves, principalities and locales with imperial immediacy). The decision to absorb church lands was one of the last of the Empire, but the Vatican brokered a deal with Bavaria in 1817 provides that the government maintains former church property, which is still in effect.
The some eleven million euro annually that Bayern spends is quite a bargain, though some tax-payers might object, for all the gains, and the renewal of agreement did not change this year in kind—only pooling funds for distribution, so that the leaders of individual diocese are not on state payroll. While churches and institutions are cared for (other Europe countries have also negotiated their own care-taker agreements with the Holy See with differing provisions), still it makes for some awkward and immemorial bureaucracy where holy sites fall under the sometimes (yet) competing jurisdictions of government, religion and the league of historical and cultural preservation.