Since when does a judge decide which rulings by Executive are merited and which are not?
This only way his ruling makes any sense is to give credence to Obama's order and not to Trump's order.
This is a clear violation of his authority and should make him subject to impeachment and removal.