Never. There's no space in their oath for fragging their commander in response to a legal order.
At the highest level, doing so is a military coup, and directly opposed to their oath.
Rounding up innocent Americans and putting them in camps isn't unconstitutional if you pass a law saying you can do it. Just ask the Japanese citizens of the country of the military stood up for them, or if they just accepted their legal orders.
Relying on the military, the violent arm of the state, to protect us from the civilian arm of the state is at best not going to happen. More likely it's so much worse if they do, because they typically don't turn control over to someone better, if they do at all.
Each time as well. Can never be too careful with those transgenerators. Never know when someone's gonna pop out and switch things up to get access to the closer toilet.