Who is supposed to stop the state from using its power illegitimately? Well, “the law” is supposed to stop it. I’m not allowed to violently resist illegitimate state action, because the law is supposed to prohibit and punish such illegitimate uses of state power.