I think it depends how close you are with the people around you. I had a good time at a friend’s holiday party recently (with no drugs or alcohol) just because I really love those folks and I’d enjoy spending time with them no matter what.
The trolley problem is bullshit because in the real world when you’re presented with a lose-lose situation, the correct response is to look for a third option.
Section 31 actually knows about all the infiltrators, but at least in early stages of their infiltration when they’re trying not to arouse suspicion they end up doing a better job than the human admirals would have anyway, so they’re allowed to do their thing.