It sounds like you are making the case that the military shouldn’t follow orders from the CIC for political reasons.
That’s not all the possibilities available here.
One would be to quit rather than to carry out a dirty order.