Updated

The Mexican government says it's disappointed that the U.S. Supreme Court upheld part of an Arizona law requiring police check the immigration status of anyone they stop.

Mexico's Foreign Relations Secretary notes that Monday's ruling set aside as unconstitutional three parts of the controversial law, including the ability to arrest suspected illegal immigrants without warrants.

The Mexican government has openly opposed Arizona's immigration law since it was passed in 2010. The statement said enforcing parts of the law that were upheld by the Supreme Court would lead to violations of the civil rights of Mexicans living in or visiting Arizona. It says the law doesn't recognize the many contributions immigrants make to their communities.

Mexico filed a "friend of the court" brief challenging the law in the Supreme Court case.