Donald Trump and Mexican President Enrique Peña Nieto at a press conference in Mexico City in August. Reuters/Henry Romero

This week, the Trump administration detailed new immigration plans that would expand the pool of immigrants eligible for deportation and offer more resources to agencies in charge of the crackdown.

The new plans would also see the US deport immigrants to the country from which they arrived, regardless of their country of origin.

This has drawn the ire of Mexican officials, who have worked closely with the US government in recent years to intercept migrants flowing through the country toward the US-Mexico border.

Luis Videgaray, the Mexican foreign minister, said on Wednesday that his government "will not accept" the US's new, "unilateral" immigration proposals.

The statement came hours before Videgaray was scheduled to meet with US Secretary of State Rex Tillerson and US Secretary of Homeland Security John Kelly. Videgaray said the new proposals would be the main point of discussion during their meetings on Wednesday and Thursday.

Tillerson and Kelly are in Mexico to meet with high-level Mexican officials, including President Enrique Peña Nieto.

Videgaray also said the Mexican government wouldn't hesitate to go to the UN "to defend the rights of immigrants," Reuters reported.

The Trump administration has sparred with the Mexican government over immigration since the US president took office in late January.

Central American migrants resting next to the train tracks at Arriaga, in the southern Mexican state of Chiapas, while waiting for the freight train "La Bestia," or the Beast, to travel to the US border. REUTERS/Jorge Luis Plata

The two countries have long cooperated on immigration issues, with Mexico acting — with US assistance — to pick up migrants from Central America and other countries who pass through southern Mexico on their way to the US's southern border, where many intend to claim asylum.

This initiative has earned the Mexican government criticism for the amount of resources it requires as well as over apparent violations of its obligations as a signatory to an international convention on the rights of migrants and refugees.

The Mexican government has said it could rescind its cooperation on immigration and other programs should relations with the US continue to deteriorate.

"We have been a great ally to fight problems with migration, narcotics," Mexico's economy minister, Ildefonso Guajardo, told The Globe and Mail this month. "If at some point in time things become so badly managed in the relationship, the incentives for the Mexican people to keep on cooperating in things that are at the heart of [US] national-security issues will be diminished."