If I'm getting killed, I would take it as a favor if you whacked the fool who was doing it. I'm willing to bet that not only would you NOT be prosecuted, but that you wouldn't have to buy your own beer for quite awhile. As for the felon in your class...
(And BTW, AZ has nearly an identical statute.)
"To spit on your hands and lower the pike; to stand fast over the body of Leonidas the King; to be rear guard at Kunu-Ri; to stand and be still to the Birkenhead Drill; these are not rational acts. They are often merely necessary." Pournelle