The judge said he will pause his order for several days to give the Trump Administration time to appeal the decision.