It was worth it.
The guy was probably worth the cost of a single bullet and not 30+ years worth of free lodging. I’m a believer in swift justice. That means it’s over quickly for the perpetrator and the paying public. It’s win/win.