The Trump administration’s move to stop an Obama-era regulation aimed at pay transparency was unlawful, and the rule requiring that employers disclose more workforce data should be reinstated, a Washington federal judge said Monday.

Judge Tanya Chutkan of the U.S. District Court for the District of Columbia said the Office of Management and Budget did not provide sufficient justification before blocking the enforcement of the Obama-era regulation, which would have expanded the scope of information that employers are required to reveal every year to the U.S. Equal Employment Opportunity Commission.