Tuesday’s decision comes at a crucial time for both Trump and the federal case against him. He almost certainly will appeal the ruling either to the full D.C. Circuit or to the Supreme Court.