IIRC there is actually a practice of nullifying laws that cannot be enforced (Vollzugsdefizit). One example I remember is that the enforcement of minor drug possession charges was declared unconstitutional because that law was only selectively enforced.