I keep mentioning being involved with military targeting because it was a real-world application of this problem.
When we got the execution order that kicked off the Persian Gulf War, I was immensely sad because I had spent many, many hours doing bomb damage assessment during the Vietnam War...seeing all those craters, all those craters in populated areas.
The genius bombs we used in the Persian Gulf War mitigated that to a great extent most of the time. But the dumb bombs dropped by B-52 aircraft were just as dumb in Iraq as they had been in Vietnam. There was that oil tank "farm" that was set as a B-52 target because it was so large...how could they miss? But that oil tank farm was just across the river from an apartment complex...and they did miss the tank farm and raked right over the apartment complex. I'm glad I didn't identify that target and especially didn't "weaponeer" it (the "weaponeer" is the person who decides what kind of weapon to use).
The Persian Gulf war added a feature for my role that had been missing from the Vietnam War: We got the "bomb camera" videos, and many times we could actually see the people who got killed in the moment before their deaths. I need to insert an expletive here to explain how that felt, particularly when it was me who identified that target. Even when I could be sure it was an enemy soldier, it was still a man who would have lived that day if I hadn't put a cross on that bunker.
Like the guy with the trolley switch in front of him, someone upstream started that disaster. My role was how to manage it. I had to operate under the belief that Swartzkopf's plan--perfectly executed--would end the war with the fewest casualties, and all I cold do was to target accurately to reduce civilian casualties. And I couldn't just step away, because my replacement might not care.