uh... so? two examples of things people do to vile people.
to be clear: if someone shouts nazi stuff around me and I'm driven to anger enough to punch them (which, to be clear, has never happened, but hypothetically), I obviously accept the legal consequences of that. the whole point here is that legal rules abut what you should do are not ethical ones. Ethically, don't shout nazi stuff, and also ethically if you do shout nazi stuff you might get punched and you deserve it.
I feel like you're trying to trick me into admitting I'd punch them, or something, which isn't necessary and is kinda weird. I would definitely want to punch someone who was saying nazi stuff around me. Who wouldn't? Of course, yeah, 'showing them the door' is the more dignified response, so that probably comes first. As does talking about it and trying to figure out why they persist in being awful.