Mexico is reacting with anger to a Trump administration plan to deport non-Mexican illegal immigrants over their border if they entered the US from the southern neighbouring nation.

Key points: Mexico calls US plan to deport non-Mexicans across their border "unacceptable"

Mexico calls US plan to deport non-Mexicans across their border "unacceptable" White House spokesman Sean Spicer says US-Mexico ties "phenomenal right now"

White House spokesman Sean Spicer says US-Mexico ties "phenomenal right now" Trump administration reviewing billions of dollars in aid to Mexico

One official called the new US immigration guidelines "hostile" hours before senior Trump administration envoys began arriving in Mexico City for talks on the volatile issue.

The US Department of Homeland Security unveiled plans on Tuesday to consider almost all illegal immigrants subject to deportation, and will seek to send many of them to Mexico if they entered the United States from there, regardless of nationality.

The tension over the timing of the rules mirrors an outcry when President Donald Trump said on Twitter Mexico should pay for his planned border wall shortly before Mexican President Enrique Pena Nieto was due at a Washington summit in January.

Nevertheless, White House spokesman Sean Spicer said in Washington US-Mexico ties were "phenomenal right now" and that he expected a "great discussion".

Sorry, this video has expired Beverley O'Connor speaks to former Mexican presidential adviser Dr Luis Gomez Romero

Other senior officials also put on a brave face, telling reporters the trip was aimed at building a close working relationship.

Mr Trump, who took office last month, campaigned on a pledge to get tougher on the estimated 11 million illegal immigrants in the United States, playing on fears of violent crime while promising to build the wall and stop potential terrorists from entering the country.

US Secretary of State Rex Tillerson landed in Mexico City on Wednesday afternoon.

He was joined by Homeland Security Secretary John Kelly later for talks the White House said would "walk through" the implementation of Trump's immigration orders.

Mr Kelly signed the guidelines issued by his department on Monday.

Mexico's lead negotiator with the Trump administration, Foreign Minister Luis Videgaray, said there was no way Mexico would accept the new rules, which among other things seek to deport non-Mexicans to Mexico.

"I want to say clearly and emphatically that the Government of Mexico and the Mexican people do not have to accept provisions that one government unilaterally wants to impose on the other," Mr Videgaray told reporters at the Foreign Ministry.

He said the issue would dominate the talks on Wednesday and Thursday. Mexico will insist that the United States proves the nationality of any person it wants to deport to Mexico, he said.

"We also have control of our borders and we will exercise it fully," he said, adding that Mexico was prepared to go the United Nations to defend the freedoms and rights of Mexicans under international law.

Mexico deportation plan 'unacceptable'

Roberto Campa, who heads the human rights department of the Interior Ministry, said the plan to deport non-Mexicans to Mexico was "hostile" and "unacceptable."

Senators for the leading leftist opposition party, the Party of the Democratic Revolution, said Mr Tillerson and Mr Kelly were not welcome in Mexico and they urged Mr Pena Nieto not to meet them.

Another potential point of friction is a review ordered by Trump of the US aid Mexico receives, dominated by $2.6 billion allocated largely for security under the Merida Initiative. Some believe the order carries a threat of cutting off such support.

Homeland Security's guidance to immigration agents is part of a broader border security and immigration enforcement plan in executive orders that Trump signed on January 25.

In Guatemala on Wednesday, Kelly denied the administration was embarking on mass deportations.

Jason Marczak, director of the Atlantic Council's Latin America Economic Growth Initiative, said the Republican President appeared to have timed the unveiling of deportation measures as a negotiating tactic aimed at unsettling Mexico.

Mr Trump was "carving out more extreme positions to be able to then negotiate a compromise solution," Mr Marczak said.

