I don’t think it’s clear because it’s never happened. A lawyer friend told me about this incident, where a Supreme Court justice ordered a suspension of a bombing campaign in Cambodia. It took some time, but other justice got on the phone to overrule him. But in that interim, the Air Force did not respond to his order. https://en.wikipedia.org/wiki/William_O._Douglas#Vietnam_War
President Grant was also arrested…for speeding! Really remarkable story: https://www.businessinsider.com/can-a-president-be-indicted-ulysses-s-grant-was-once-arrested-for-speeding-2018-12