It really depends on the jurisdiction, but it certainly isn't 'crazy wrong'.
http://www.legalmatch.com/law-library/article/resisting-an-u...
That said, I definitely agree with most of the sentiment here, that it's best not to push it, especially given the abuses of power we've seen. Fighting it after-the-fact is probably the best choice.