Earlier quoted context omitted.
Not at all! I think these laws are dumb and I don't want my state to pass one. But when I play, I play to win. Openly thumbing one's nose at the courts and the state is rarely a winning strategy. The way to win is through the democratic process: persuading elected officials to take your side. That, in turn, requires persuading the public to take your side.
On the contrary, civil disobedience involves openly thumbing your nose at the state, and it has a long history of successes. Going to the courts instead of the legislature is another strategy that often wins. This is how Bernstein ended export restrictions on cryptography, by suing the government on constitutional grounds rather than trying to persuade legislators.
2. Openly thumbing your nose at the law is not going to serve you well in court. What did Prof. Bernstein do when he was threatened with legal sanctions? He lawyered up and took his counsel's advice. His communications throughout the process remained factual and respectful even though his disagreement was clear. He did not go onto Hacker News and prejudice himself by saying things like "Illinois legislators can eat shit" and "I dare someone to try to take me to court over this." He was patient, let his lawyers do the talking, and did not get the judge pissed off at him.
Civil disobedience, as with the legislative and judicial processes, works through the power of persuasion. If you fail to persuade, your mission fails.
These processes involve emotional and imperfect people, not deterministic logical machines, and success ultimately requires making them happy (or at least not making enemies out of them). The system might not work, but you have to work the system.