See how you replaced punching with executing? That destroys the entire analogy.
Besides, I don’t feel personally attacked by the idea of executing criminals, I’m opposed to it based on principle, and because it doesn’t even achieve its goals.
I don’t mind someone wearing a nazi armband or doing a nazi salute getting punched. I’d probably do nullification if I was on that jury.
But making a law that says “You are legally allowed to punch nazis” is just disaster. That’s telling people its okay to assault someone that, in their view, is a nazi. Like some karen might perceive being kicked out of a store, as the store manager “being a nazi”.
It should be up to the juries to nullify if they think the person getting punched is a nazi, not just do a blanket “okay” on “punching nazis”.
Edit: A better solution is just make it a crime to wear nazi articles of clothing, or doing nazi gestures, or say pro-nazi speeches.