The headline says it all: “Foreign countries line up to oppose Utah immigration law”:

More than a dozen Latin American countries have filed legal briefs in federal court arguing Utah’s enforcement-only immigration law will damage international relationships and urging the judge to rule it unconstitutional. . . .
The 21-page, friend-of-the-court brief was filed June 2 and argues HB497 “substantially and inappropriately burdens the consistent sovereign-to-sovereign relations between Mexico and the United States of America, interfering with the strategic diplomatic interests of the two countries and encouraging an imminent threat of state-sanctioned bias or discrimination.”
Mexico is the lead country on the brief but was joined by Argentina, Peru, Nicaragua, El Salvador, Chile, Paraguay, Uruguay, Honduras, Colombia, Costa Rica, Ecuador, Guatemala and Brazil.
In the brief, attorney Lon A. Jenkins makes the case that “Mexico has a right to protect the interests of its nationals within the limits of international law. Mexico seeks to ensure that its citizens present in the U.S. are accorded the human and civil rights granted under the U.S. Constitution and affirms that HB497 threatens the human and civil rights of its nationals.”