In a significant legal ruling, a federal judge in the nation’s capital has temporarily blocked the Trump administration’s policy that limited the access of Congress members to immigration detention facilities for oversight purposes.

On Wednesday, U.S. District Judge Jia Cobb, appointed by President Joe Biden, ruled that the requirement for lawmakers to notify U.S. Immigration and Customs Enforcement (ICE) a week in advance before visiting these facilities was likely beyond the scope of what the Department of Homeland Security is authorized to enforce.

The ruling arose from a lawsuit filed by twelve Democratic Congress members in July, who claimed that the modified policies were obstructing their ability to monitor conditions within ICE facilities—essential for assessing overcrowding, unsanitary conditions, and potential misconduct by staff.

Judge Cobb noted, Plaintiffs have an interest in facts about whether facilities are overcrowded or unsanitary, whether the staff is engaging in abuse, or the location of constituents or their family members.” This statement underscores the importance of oversight in maintaining humane conditions within immigration detention centers.

The court found the arguments presented by government attorneys asserting that lawmakers lacked standing and that the concern over rapidly changing conditions was speculative to be inadequate. The judge emphasized that the nature of conditions in ICE facilities makes it challenging for Congress members to accurately evaluate situations if they are not allowed timely access to visit.

This ruling presents a crucial win for proponents of Congressional oversight over immigration detention centers, especially amidst increased scrutiny over the practices and conditions present within these institutions.