We had one of those city-slick enviropricks buy himself a ranchette out in the Strawberry Mtns a few years back, adjacent to an actual cattle ranch. A dozen of the ranch cows broke a fence and got into the Doc’s pasture, no harm done, and he decided the cure was to shoot them all. He lost all 20 of his fancy gun collection and got five years in the state pen, and a quarter million dollar fine. I think he even lost his doctor card. All in the course of learning the Code of the West.
I remember that story. There was a similar one in either Oregon or Washington state, and the outcome was reversed, the ranchers got fined (and I believe their livestock was slaughtered). Of course, those states are not of the code.