I disagree. If you want to use civil disobedience as a tool for changing bad laws, you have to be willing to accept the punishment for disobeying those laws. Otherwise you're not an activist, just an asshole.
If you'd rather not be punished for breaking a bad law, that's fine too. Just lobby for it to be changed without violating the law, like the rest of us.