Rarely if ever.
If things needed to be rectified it has happened - legally in most cases.
If in self defenses or to protect others it has happened. Note in the civilian world this can be expensive, SJW's will work to get one charged and convicted.
In the service I have made sure I was out of the area and had no knowledge.
Simple common sense given the Justice System which provides only limited justice. Remember thoise with the gold make the rules and cannot be prosecuted. There are those that can provide obstacles however