Ok, can a judge freeze a tank or a drone cruising at 50,000 feet? You're banking on every single judge to agree to play civil war chicken? Not even a few of them (such as his personal appointments to the SCOTUS) will back Trump in this?
The judicial system just hemmed and hawwed for 4 years, refusing to lock him up for blatant crimes. Now they're going to grow a spine when he has access to the nuclear launch codes?
If the judicial branch wanted to stop him they could have done it any time on the last 8 years. So either they can't or won't...
So you concede that the courts can't do anything when push comes to shove. It's up to the guy in the tank, the rogue secret service agent, the personal chef with a grudge, etc...
There's a reason why the main push of the first few weeks were purges of executive officials and telling all federal employees to quit. Anyone left has passed the acid test of loyalty to Trump or is meek enough to "just follow orders".
Is it a foolproof plan for Trump? Time will tell where all loyalties lay, but their actions have shown where they think the true threat is.