Minutes later, the Trump administration filed a notice of appeal and questioned the authority of the court.