U.S. District Judge David O. Carter ruled that the administration's allegations were "not credible" and that the intervention it sought would violate a host of federal laws.