A federal judge on Tuesday rejected a claim by President Donald Trump’s administration that it is legally barred from securing funding for the U.S. Consumer Financial Protection Bureau, noting that a court order already bars the administration from shutting the agency down.

The ruling from U.S. District Judge Amy Berman Jackson came as the CFPB faced the imminent exhaustion of funds. The Trump administration has denied the CFPB additional cash to meet expenses since taking control of the agency in February but ithas been repeatedly blocked in the courts from firing workers en masse.

CFPB representatives did not immediately respond to a request for comment.

Officials say cash on hand could be exhausted in early 2026 and the CFPB announced last month that an administration legal opinion held that, under the agency’s governing statute, it could not seek additional funding from the Federal Reserve so long as the central bank is losing money.

But in a stinging 32-page ruling, Berman Jackson said Tuesday this was a legally baseless pretext to get around her original order, finding that “the defendants are unabashedly trying to shut the agency down again, through different means.”