Mexico has criticised an immigration bill signed into law in the US state of Arizona that allows police officers to question and detain suspected illegal immigrants even if they are not believed to have committed a crime.
Patricia Espinosa, Mexico's foreign minister, said on Saturday that responsibility and trust were rather needed, a day after the bill, that requires legal immigrants to carry documentation at all times, was signed into law.
"Criminalisation is not the path to solving the phenomenon of illegal migration," Espinosa said.
"The existence of trans-border labour markets requires comprehensive and long-term solutions. Responsibility, trust and mutual respect should be the base for addressing shared challenges in North America."
Jan Brewer, Arizona's Republican governor said, at the signing ceremony on Friday: "It protects all of us, every Arizona citizen and everyone here in our state lawfully and it does so while ensuring that the constitutional rights of all in Arizona remain solid."
Thousands of pro-immigration rights activists gathered outside the Arizona state capital building, saying that the new law unfairly targets undocumented workers and essentially legalises racial profiling.
However, Brewer denied the accusations saying that she would "not tolerate racial discrimination or racial profiling in Arizona".
Barack Obama, the US president, criticised the law as "misguided" and said it undermines American values.
"Our failure to act responsibly at the federal level will only open the door to irresponsibility by others," he said.
Al Jazeera's Monica Villamizar reports on Arizona's controversial new immigration law
"The recent efforts in Arizona threatened to undermine basic notions of fairness that we cherish as Americans."
Obama was addressing a ceremony at the White House in which 24 members of the US military, originally from China, Mexico, Ethiopia and other countries became American citizens.
"Today we celebrate the very essence of the country that we all love - an America where so many of our forebearers came from someplace else," Obama, whose father was Kenyan, said.
He warned that the Arizona bill could harm trust between police officers and their communities and said his administration would take a close look at it.
"Obama is saying that in the interest of the country and the workforce, we need to fix our immigration system," Ali Noorani, executive director of the National Immigration Forum in Washington, told Al Jazeera.
"This is a dagger in the heart of Arizona's economy and does nothing to keep Arizona safer."
Obama warned that without federal immigration reform the door would be open to "misguided efforts" such as the recent measure in Arizona that has raised questions of civil rights.
"This is a dagger in the heart of Arizona's economy"
Ali Noorani, director of the National Immigration Forum
"The majority of America wants comprehensive immigration reform and Obama is beginning to lead the way. I don't think that there is any support for this type of law in the rest of the country," Noorani said.
The bill is one of the toughest laws in the country designed to curtail illegal immigration.
Critics say it carries the potential to turn neighbours against neighbours by allowing citizens to compel police to comply with the law, preventing them from avoiding the issue in order to retain the trust of immigrants.
Given the long border between Arizona and Mexico, the state has a history of tough laws that have been unsuccessful in deterring undocumented immigrants from making the short, but often perilous, journey across the desert border region.
Obama has promised advocates who want a path to legal status for 11 million illegal migrants that he will take up the issue, but only if he wins Republican support.
But in an election year and with 9.7 per cent unemployment many observers doubt whether the political momentum can be found for action on such a controversial issue.