-LRB- A federal judge ruled against environmental groups in the United States and a Mexicali civic association in a lawsuit against the project , dismissing some claims on June 26 on technicalities and deciding on July 3 that many of the predicted effects on Mexico were '' highly speculative '' and that the federal environmental law at issue did not apply beyond the border .