Trump administration had unveiled new rules that would allow officials to detain migrant families indefinitely.

A United States judge on Friday blocked new Trump administration rules that would enable the government to keep immigrant children in detention facilities with their parents indefinitely.

US District Court Judge Dolly Gee in Los Angeles said the rules conflict with a 1997 settlement agreement that requires the government to release immigrant children caught on the border as quickly as possible to relatives in the US and says they can only be held in facilities licensed by a state.

Gee said the Flores agreement – named for a teenage plaintiff – will remain in place and govern the conditions for all immigrant children in US custody, including those with their parents.

“The agreement has been necessary, relevant, and critical to the public interest in maintaining standards for the detention and release of minors arriving at the United States’ borders,” the judge wrote in her decision. “Defendants willingly negotiated and bound themselves to these standards for all minors in its custody, and no final regulations or changed circumstances yet merit termination of the Flores agreement.”

The Trump administration sought to end the agreement and issued the new rules with the hope of detaining immigrant children in facilities with their parents. The move came as part of a broader crackdown on asylum seekers arriving on the southwest border, many of them families with children from Central America.

The Flores agreement allows for the settlement to be phased out when rules are issued for the custody of immigrant children that are consistent with its terms.

Don’t use children as deterrent

190821161834055

Lawyers who represent detained immigrant children welcomed Gee’s position, which she initially conveyed to them in a draft ruling during a court hearing on Friday. They said they would not allow the administration to use young immigrants to try to deter migrants fleeing desperate conditions from seeking asylum in the US.

“We will continue vigorously to defend the rights of detained immigrant children,” Neha Desai, director of immigration at the National Center for Youth Law, told reporters.

The Department of Justice said the administration is disappointed with the ruling because it did what was required to implement the new rules.

Lawyers for both sides said they would be willing to meet and discuss whether some aspects of the rules aren’t subject to the settlement. Gee gave them until October 4 to do so.

More than 400,000 immigrants travelling in family groups with children have been stopped at the Mexico border in the past year.

In its crackdown, the Trump administration has had migrants await immigration court hearings in Mexico and required those who cross through a third country to seek refuge there before applying for asylum in the US.

Immigrant advocates have decried the changes, which threaten asylum for many people fleeing violence in their countries.