The ruling by U.S. District Judge John McConnell in Providence, Rhode Island came at the behest of Democratic attorneys generals from 22 states and the District of Columbia and despite the White House saying it was rescinding Monday's memo from its budget office detailing the policy.
The temporary restraining order will be in place until further order of the court while the judge considers whether to issue a longer preliminary injunction.