A federal appeals court in Manhattan ruled on Friday that the US Transportation Department wrongly withheld nearly $74 million in highway money from New York after the state declined to revoke about 33,000 commercial driver's licences held by immigrants. The 2nd US Circuit Court of Appeals found the penalty "arbitrary, capricious, or contrary to law", saying the state could not be faulted for not cancelling licences when rules requiring it were not yet in place. The ruling is a setback for the Trump administration's crackdown on non-domiciled commercial licences (issued to foreign residents), which officials say has led to some 30,000 cancellations nationwide, while New York officials had called the funding cut political payback.