A federal magistrate judge has issued an extraordinary apology to a man accused of attempting to assassinate President Donald Trump, citing concerns over his treatment in a Washington, DC, jail facility.

U.S. Magistrate Judge Zia Faruqui apologized Monday to Cole Tomas Allen, 31, during a court hearing regarding the conditions of his confinement. The judge expressed concern that Allen has been held in what he described as conditions “tantamount to solitary confinement” since his arrest.

Allen faces federal charges of attempting to assassinate the president after allegedly charging through a security magnetometer while armed in an attempt to breach the ballroom at the White House Correspondents’ Association Dinner. President Trump, Vice President JD Vance, and other administration officials were attending the event at the time of the alleged incident.

According to court filings submitted by Allen’s defense attorneys, their client was placed on suicide watch shortly after arriving at the DC jail. This designation resulted in Allen being confined to what correctional facilities term a “safe cell,” a padded room with constant lighting and continuous lockdown conditions. The attorneys maintain that Allen displayed no signs of being a suicide risk and that the placement was unwarranted.

Judge Faruqui took the unusual step of setting a Tuesday deadline for the Washington, DC, Department of Corrections to notify the court when the jail’s housing board would determine appropriate placement for Allen within the facility.

The judge’s apology and intervention have sparked considerable criticism from law enforcement officials. U.S. Attorney for the District of Columbia Jeanine Pirro issued a sharp rebuke of the decision, questioning whether special consideration was being afforded to an individual charged with such a serious offense.

Pirro stated that the situation exemplifies a troubling approach to criminal justice in the nation’s capital, where a defendant “armed to the teeth and attempting to assassinate the president is entitled to preferential treatment in his confinement compared to every other defendant.”

The Department of Justice has charged Allen with attempted assassination of the president, one of the most serious federal offenses. The case raises questions about security protocols at high-profile events and the treatment of defendants accused of violent crimes against federal officials.

The matter now awaits the DC Department of Corrections’ response to the judge’s directive regarding Allen’s housing classification and placement within the jail system.

This case continues to develop as the legal proceedings move forward and as questions persist about appropriate detention conditions for defendants facing the most serious federal charges.

Related: Mass Shooting at Oklahoma Lake Party Sends Thirteen to Hospitals