If anyone thinks that this ruling is a surprise to the Trump administration, think again. I have no doubt that he conferred with his AG about his executive order and discuss possible outcomes such as a judge blocking his order. Maybe he expected this outcome?
Regardless, we'll see what his next move is.