Was it a lesson? Sure.

Likely to be the lesson someone needs to avoid a life of crime? Nah, just makes them know the rules of the proverbial game that much more. Sadly, each side has their own rules, and as each of them violate the others, it only creates the risk for more reaction back.