In France you have a principle that says "Nul n'est censé ignorer la loi", ("no one should ignore the law") that has a double meaning: you can not escape your responsibilities by saying that you ignored a law, and, as a corollary, no law should be purposely hidden from you.
Still, I've no doubt that french secret services practice all kind of immoral if not illegal stuffs (at the widest scale they can afford), and they have "interesting" theories about what allows them to do that (or maybe they they are just crazy enough to don't care at all, like the recent declaration about the law not applying at all to those programs seems to says...)