Yep. I have been thinking that if Trump deems it to be in the interest of national safety to impose and immigration ban (as he is empowered to do), then he would be duty bound to pull rank on the Federal courts, and asserting the co-equal right of the executive branch to disregard the court orders. The courts are just asking for this to happen. The courts are not “the boss of” the president (as my kids use to say).
The Supreme Court declared in Harisiades v. Shaughnessy (1952):
Any policy toward aliens is . . . interwoven with . . . foreign relations, the war power, and the maintenance of a republican form of government. Such matters are so exclusively entrusted to the political branches of government as to be largely immune from judicial inquiry or interference.
Of course, with the TRO applying to all agents of the executive branch, you can almost guarantee the state/local LEOs in the sanctuary states/cities would attempt to now enforce federal law.