You are right. It is in the UCMJ ( Universal Code of Military Justice.) You do not have to follow an unlawful order.
UNIFORM. Uniform Code of Military Justice.
You were saying, Counselor?