well perhaps the criminal can explain to the judge how society failed him or a rough traumatic childhood caused him to be this way. Also add in the presentation how easy it was for him to get a gun and how the cashier should have been automated. I do think cashiers will be an outdated job in a few yrs.
I believe it is fairly simplistic to just say good/bad without understanding the nuances and shades of gray in between.