The analogy is flawed and you've made the same error in your second paragraph. None of what we've been discussing concerns beliefs or principles. These are cases where the law has been violated, and those whose responsibility it is to punish lawbreakers can't or won't do it, so others take this responsibility into their own hands. You're portraying it as some attempt at civil disobedience, when in fact it is an attempt (however misguided) as restoring order in the community.