Not trying to justify that law (and I'm not a fan of the Bavarian "one-party-state" either), but I want to mention that "the police" can't put you into prison forever - they need to get it reapproved every three months by a judge. Plus, if you're the kind of person this law targets (a suspected terrorist), you would be well advised not to move to the US either...