A federal judge has ordered U.S. Customs and Border Protection to permit health experts into detention facilities holding migrant children to ensure they’re “safe and sanitary” and assess the children’s medical needs.

This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

LOS ANGELES — A federal judge has ordered U.S. Customs and Border Protection to permit health experts into detention facilities holding migrant children to ensure they’re “safe and sanitary” and assess the children’s medical needs.

The order encompasses all facilities in the CBP’s El Paso and Rio Grande Valley sectors, which are the subject of a lawsuit.

Last week, lawyers asked U.S. District Judge Dolly Gee to hold President Donald Trump’s administration in contempt and order immediate improvements at the facilities. The lawyers are part of a team of doctors and advocates that warned last week of what they said were major health and hygiene problems at Customs and Border Protection facilities in Texas following visits to the facilities.

“Children are held for weeks in deplorable conditions, without access to soap, clean water, showers, clean clothing, toilets, toothbrushes, adequate nutrition or adequate sleep. The children, including infants and expectant mothers, are dirty, cold, hungry and sleep-deprived,” the court filing said.

Gee, who sits on the federal bench for the central district of California, made the ruling Friday, despite Attorney General William Barr and other defendants’ request that the court “set a schedule for briefing these issues that provides defendants with a full and fair opportunity to respond to the allegations that plaintiffs have lodged against them.”

Gee set a deadline of July 12 for the parties to “file a joint status report regarding their mediation efforts and what has been done to address post haste the conditions described.”

The detention centers have become a political volleyball, with critics likening them to concentration camps and torture facilities, while supporters say they’re necessary to an effective immigration policy.

At issue is the 1997 Flores Agreement, which sets standards for detaining child migrants and requires the government to release children to their parents, adult relatives or licensed programs without unnecessary delay.

“The Court has already issued several orders that have set forth in detail what it considers to be violations of the Flores Agreement,” Gee wrote in her Friday ruling. “Thus, the parties need not use divining tools to extrapolate from those orders what does or does not constitute non-compliance. The Court has made that clear beyond peradventure.”

The judge cited a July 2015 order chronicling “widespread and deplorable conditions in holding cells” and a June 2017 order documenting “unsanitary conditions at certain CBP facilities.”

“Plaintiffs claim that CBP has continued to commit many of the same violations years later,” Gee wrote.

The judge wrote in the order that she is aware that a sudden influx of migrants presents challenges and that the conditions at the facilities are not static, but the 1997 agreement demands defendants compose a plan outlining its efforts “to place all minors as expeditiously as possible.”

“If 22 years has not been sufficient time for Defendants to refine that plan in a manner consistent with their ‘concern for the particular vulnerability of minors’ and their obligation to maintain facilities that are consistently ‘safe and sanitary,’ it is imperative that they develop such a comprehensive plan forthwith,” Gee wrote, using italics for emphasis.

Among the detention centers in question is a Clint, Texas, facility that reporters toured on Wednesday, but were barred from taking any photographs or video.

Lawyers in Flores v. Barr presented as exhibits dozens of anecdotes from children and teen mothers complaining of mistreatment, filthy conditions and lack of access to clothing, adequate food and medical care.

“I am in a room with dozens of other boys,” a 17-year-old told lawyers fighting for the migrant children. “Some have been as young as 3 or 4 years old. Some cry. Right now, there is a 12-year-old who cries a lot. Others try to comfort him. One of the officers makes fun of those who cry.”

A 15-year-old girl from El Salvador said, “A Border Patrol agent came in our room with a 2-year-old boy and asked us, ‘Who wants to take care of this little boy?’ Another girl said she would take care of him but lost interest after a few hours and so I started taking care of him. … I feed the 2-year-old boy, change his diaper and play with him. He is sick. He has a cough and a runny nose and scabs on his lips.”

Dr. Dolly Lucio Sevier, who interviewed 39 children, likened the conditions in the detention centers to “torture facilities,” according to a court filing.

“That is, extreme cold temperatures, lights on 24 hours a day, no adequate access to medical care, basic sanitation, water or adequate food,” the pediatrician said. “All 39 detainees had no access to hand-washing during their entire time in custody, including no hand-washing available after bathroom use.”