The Trump administration has said it will immediately ask the Supreme Court to let the policy take effect.