Bolivia, Colombia, El Salvador, Guatemala, Nicaragua, Paraguay and Peru filed separate, nearly identical motions to join Mexico’s legal brief supporting the lawsuit filed by U.S. civil rights and other advocacy groups. A federal judge formally accepted Mexico’s filing July 1 but did not immediately rule on the latest motions filed late last week.

Mexico says the law would lead to racial profiling and hinder trade, tourism and the fight against drug trafficking.

The law is to take effect July 29. It requires that police conducting traffic stops or questioning people about possible legal violations ask them about their immigration status if there is “reasonable suspicion” that they’re in the country illegally.