About 2,700 children in Latin America are to be reunited with their migrant parents in the US following a court settlement.

The agreement follows a lawsuit challenging a 2017 decision by Donald Trump's administration to shut down an Obama-era programme that allowed migrant parents living legally in the US to request refugee status for their children.

In axing the programme, the government blocked 2,700 minors from Guatemala, El Salvador, and Honduras who had already been conditionally approved as refugees from being reunited with their families.

Many of the parents are in the US with so-called temporary protected status, which allows immigrants from countries that have suffered natural disasters, civil conflicts or other problems to stay in the United States.

Magistrate Laurel Beeler in San Francisco ordered the government to resume processing children who had been conditionally approved for the programme when it was terminated by the Trump administration.

Trump prototypes for Mexico border wall demolished in California Show all 20 1 /20 Trump prototypes for Mexico border wall demolished in California Trump prototypes for Mexico border wall demolished in California The prototypes for President Trump’s border wall are being demolished. AP Trump prototypes for Mexico border wall demolished in California The US Customs and Border protection had built the eight 30-foot tall steel and concrete models near San Diego on the US-Mexico border. Reuters Trump prototypes for Mexico border wall demolished in California A 2018 report from the Government Accountability Office found that the construction challenges presented by the four concrete models would be “extensive” and those presented by two of the other models would be “substantial”. Reuters Trump prototypes for Mexico border wall demolished in California It was intended that Mr Trump would choose his favourite of the designs after testing had been completed. AFP/Getty Trump prototypes for Mexico border wall demolished in California The President is yet to comment. AFP/Getty Trump prototypes for Mexico border wall demolished in California Each prototype cost $300,000 to $500,000 to build and they are being knocked down in order to make way for the San Diego Secondary Wall project which will see up to 14 miles of barrier being built to support the existing steel border fence. AP Trump prototypes for Mexico border wall demolished in California The new barrier will not employ the design of any of the prototypes, instead being built of the favoured steel bollards which make up the current section of the wall at San Diego. Reuters Trump prototypes for Mexico border wall demolished in California The new secondary barrier being built near San Diego. Reuters Trump prototypes for Mexico border wall demolished in California The rubble of one of the demolished prototypes. Reuters Trump prototypes for Mexico border wall demolished in California A steel wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A wall prototype made from a mix of steel and concrete AFP/Getty Trump prototypes for Mexico border wall demolished in California A wall prototype made from a mix of steel and concrete AFP/Getty Trump prototypes for Mexico border wall demolished in California A concrete wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A steel wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A concrete wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A concrete wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A concrete wall prototype AFP/Getty Trump prototypes for Mexico border wall demolished in California A digger approaches the prototype wall AFP/Getty Trump prototypes for Mexico border wall demolished in California Aerial view of the wall prototypes at the US-Mexico border after they were torn down AFP/Getty Trump prototypes for Mexico border wall demolished in California An aerial view showing Tijuana, Mexico on the left and the demolished wall prototypes on the right AFP/Getty

The settlement, which must be approved by a judge, requires the government to finish processing children who were in the final stages of their applications when the program was ended, said the International Refugee Assistance Project (IRAP), which represented 12 of the families.

Irap said the government anticipated most applicants will be approved and allowed to travel to the United States.

Support free-thinking journalism and attend Independent events

“We are so pleased that after many years apart our clients will finally have the opportunity to reunite with each other in safety,” lawyer Linda Evarts said.

“These families belong together here in the United States, and we are hopeful this settlement will allow for their swift reunification,” she added.

The US Citizenship and Immigration Services agency, which signed the settlement, and the Justice Department did not immediately respond to a request for comment.