Like, let me put this in Star Trek terms.
It's a Kobayashi Maru. There is no winning here, there is no outcome where everyone gets saved.
It's an exercise and a test for what you do when you can't win and no matter what you do, unconscionable things will keep happening to differing degrees.