In an unusual move, the Trump administration asked the Supreme Court to hear the case before an appeals court had ruled.