In the military you don't have to carry out unlawful orders, in fact it's your sworn duty not to carry them out.