Yeah, a lot of them apply explicitly to the government. In Germany at least most privacy laws flow from Article 10 of our constitution and for example Article 8 of the EU Charter of Fundamental Rights. Both of which have been used in the past to explicitly remove laws that violated privacy in the name of security.