Once upon a time, the notion of civil disobedience was intimately connected to accepting and even welcoming the punishment that came with breaking the unjust law -- after all, if people just walked away untouched from it, how unjust could it be? Only by suffering actual grievous harm at the hands of the law could someone demonstrate that the law was unjust.
Now, though, the attitude seems to be "Nope, was just protesting this law I don't like, that means you shouldn't do anything to me".
As the saying goes: that's not how this works. That's not how any of this works.