In the US military (and I would assume all militaries?) a servicemember must obey an order from a superior officer if the order is lawful; however, if complying would require the commission of a crime, the order is unlawful and must be disobeyed. Is there any "gray area" in whichWould a court-martial wouldever rule that it would have been legal to obey an order, but (for example) the servicemember reasonably believed it was unlawful and was therefore justified in refusing to comply? Has such a ruling ever actually happened?