On Thursday morning, the second day of the partial government shutdown, Trump wrote in a Truth Social post that he was meeting soon with Russell Vought, his Office of Management and Budget Director, to decide where to start cutting the federal workforce. He said the shutdown has given him an “unprecedented opportunity” to pick and choose which agencies to target for layoffs.[time-brightcove not-tgx=”true”]One problem with the President’s plan: enacting permanent staffing cuts during a shutdown may be illegal under federal law. If Trump moves forward with layoffs, his action could be mired in court for months.Trump and other Administration officials began last month threatening widespread layoffs of federal workers in the event of a shutdown. On Thursday, Trump seemed to relish the position he found himself in, with Senate Democrats depriving Republicans of the handful of votes they need to keep the government funded. “I have a meeting today with Russ Vought, he of PROJECT 2025 Fame, to determine which of the many Democrat Agencies, most of which are a political SCAM, he recommends to be cut, and whether or not those cuts will be temporary or permanent,” Trump wrote, giving a nod to Vought’s role as the lead author of Project 2025, a blueprint for remaking the federal government he’s largely followed since taking office but disavowed during his campaign. “I can’t believe the Radical Left Democrats gave me this unprecedented opportunity.”When White House Press Secretary Karoline Leavitt was asked what parts of the government Trump was referring to as “Democrat agencies,” she said the White House is looking at “agencies that don’t align with this Administration’s values that we feel are a waste of the taxpayer’s dollars.” The day before, Leavitt had told reporters, “we believe that layoffs are imminent.”Normally during a shutdown, a large portion of the federal workforce is furloughed on a temporary basis until Congress passes a spending bill to reopen the government and give workers back pay. Many agencies have published their plans for how many workers will be temporarily sent home during this shutdown. Agencies slated to furlough the largest percentages of their workers are the Environmental Protection Agency, the Education Department, the Commerce Department, the Labor Department, and the Department of Housing and Urban Development. Trump also chose to shut down operations of the Council of the Inspectors General on Integrity and Efficiency, an office that had been established by the Inspector General Reform Act of 2008 to improve oversight of waste, fraud and abuse across the federal government. On Thursday afternoon, the agency’s websites—including oversight.gov—and links to reports, manuals and training schedules showed a white screen and the message, “Due to a lack of apportionment of funds, this website is currently unavailable.” It’s unclear if the office going dark is temporary or permanent.But Trump, Leavitt, Vought and Vice President J.D. Vance have all said that some federal workers could be permanently fired while the government is unfunded. In a rare appearance during the White House press briefing on Wednesday, Vance framed the potential layoffs, which are also called reductions in force, or RIFs, as necessary to ensure essential services can continue as the shutdown drags on.Hours before the shutdown began, the American Federation of Government Employees and other unions representing hundreds of thousands of federal workers filed a lawsuit in court seeking to block Trump from using the shutdown to fire thousands of federal employees. The lawsuit argues that the Administration doesn’t have legal authority to permanently fire federal employees during a shutdown. The Antideficiency Act, first passed in 1870, forbids the federal government from spending money not appropriated by Congress, and guides much of what the federal government can and can’t do during a shutdown.Reductions in force, on the other hand, are guided by regulations stemming from the Veterans’ Preference Act of 1944 and other statutes, according to the lawsuit, which argues that those statutes are not applicable during a shutdown.Trump officials have been warned internally that permanent firings during the shutdown could be effectively challenged as violations of appropriations law, according to a senior government official. But the Administration’s budget officials aren’t convinced. “It’s called the Constitution,” OMB spokeswoman Rachel Cauley replied in an email when asked what authority the Office of Management and Budget would use to move forward with reductions in force. “Issuing RIFs is an excepted activity to fulfill the President’s constitutional authority to supervise and control the Executive Branch, similar to conducting foreign policy,” Cauley wrote in a statement.The lawsuit, which was filed by the unions in U.S. District Court for the Northern District of California, is asking the court to to block any efforts by the Administration to issue reductions in force, and to declare that the Administration exceeded its authority in even telling agencies to prepare to fire workers during the shutdown.“The Trump administration must not be allowed to use a shutdown as an excuse for yet another illegal attack on federal workers,” Norm Eisen, executive chair of Democracy Defenders Fund and one of the attorneys that filed the lawsuit, said in a statement.