But if you're given a perfectly legal, albeit lethal, order, you have no choice whatsoever.
The Iraq war may well be considered illegal, but American and the UK governments consider it legal. Would I still be able to get out of it if I were a soldier and didn't believe in its legality?