The judicial order is clearly illegal, being an exercise of executive, not judicial, authority, as it was in Australia. In Australia Tony Abbott ignored the courts, and found loyalists to enforce his will. Courts then went quiet, no drama ensued, and the precedent that the executive gets to make executive decisions is now respected in Australia, for the moment, despite the fact that Tony Abbott has been replaced by someone obviously weak kneed.
Upon being successfully defied, the Australian courts acted guilty, rather than outraged, eventually accepting their loss of status, and have made no attempt to reclaim the inflated status that they previously enjoyed and successfully claimed. They have been successfully humbled, and remain humbled.