A guy did that while the news cameras rolled in Baton Rouge some years ago. (Looked it up - 1984). 5 years probation.
https://www.youtube.com/watch?v=Oi3Hyxuf5AE
EXACTLY what my first thought was when i saw this.
There is also the case of Ellie Nesler, who, in 1993, shot and killed her son’s molester in the courtroom.
The perp was accused of molesting Nesler’s son at a church camp, along with three other boys. Nesler shot the molester after he turned around and “smirked” at her and her family during the trial.
Sadly, Ellie Nesler later died of cancer and her son is in prison for murder.
Thought of that, too.