A federal court in Washington, D.C., sided with Sen. Ted Cruz (R-TX) in his lawsuit challenging a Federal Election Commission restriction on the use of post-election funds to pay off loans candidates make to their own campaigns.