A federal district court has ruled that the Trump administration overstepped constitutional boundaries by modifying the automatic email responses of furloughed Education Department employees to include partisan messaging about the government shutdown.

U.S. District Judge Christopher Cooper issued his decision Friday in Washington, finding that the administration violated the free speech rights of federal workers by commandeering their email accounts to broadcast political statements blaming opposition lawmakers for the funding impasse.

The case centers on automatic out-of-office messages that were altered to include language attributing the shutdown to Senate Democrats. Judge Cooper’s ruling emphasized that the nonpartisan nature of civil service represents a cornerstone principle of American government administration.

“Political officials are free to blame whomever they wish for the shutdown, but they cannot use rank-and-file civil servants as their unwilling spokespeople,” Cooper wrote in his decision.

The lawsuit was brought by the American Federation of Government Employees, which represents the largest number of federal workers nationwide. The union challenged the practice last month after discovering the altered messages on employees’ email accounts.

Cooper’s order requires the Education Department to immediately remove references to Senate Democrats from the email messages of union members. The judge indicated he would extend this requirement to all department employees’ accounts if the agency determines it cannot technically distinguish between union and non-union workers’ email systems.

This legal development arrives as the government shutdown reaches its 38th day, establishing a record as the longest funding lapse in the nation’s history. The impasse shows no signs of resolution.

The shutdown’s effects continue to ripple across multiple sectors of American life. Federal workers have missed multiple paychecks, millions of citizens have lost access to food assistance programs, and the aviation industry faces potential flight reductions of up to twenty percent due to shortages of air traffic controllers.

The political dispute underlying the shutdown centers on Senate Democrats’ refusal to approve budget legislation that does not include extensions for expiring health insurance subsidies. The administration has maintained that Democratic lawmakers bear responsibility for the funding gap.

The Education Department email controversy represents part of a broader administration effort to assign blame for the shutdown. The Department of Homeland Security has displayed videos in airports attributing security disruptions to Democratic opposition, and similar messages have appeared on various federal agency websites.

Judge Cooper’s ruling addresses the constitutional question of whether government employees can be compelled to serve as messengers for partisan political statements. His decision affirms that civil servants retain free speech protections even while employed by the executive branch, and that their official communications cannot be appropriated for political purposes without their consent.

The administration has not yet indicated whether it will appeal the decision or how quickly it will comply with the order to remove the partisan language from employee email accounts.

Related: White Lotus Star Faces Backlash for Supporting Attack on Sweeney Jeans Campaign