Only because he recognized their non-existent authority over his duly vested powers as president.
The Constitution gives the Judicial no such carte blanche authority over the Executive, but Trump keeps letting them fix a leash on him anyway.
=========================================
Agreed. So now what? Shall we vote him out in 2020?
What - are you kidding? No, I think the President will find his stride over the next six years.