A federal district judge in Washington, D.C., has given the Trump administration until Sept. 30 to start collecting a broader scope of pay data from large U.S. businesses.

In issuing her order from the bench Thursday, U.S. District Judge Tanya Chutkan lambasted the government for illegally attempting to unwind the Obama-era rule and for misleading the court into believing it could start collecting data immediately if the plaintiffs prevailed. The rule expands the scope of compensation data businesses are already required to report to the Equal Employment Opportunity Commission to include information on gender, race and ethnicity.

Chutkan said the plaintiffs and the court agreed to a stay in the case under a “misconception” from the government that it could quickly collect the dated. Chutkan berated the government for later saying it would need until 2021 to start collecting the data, noting that even the government's own lawyer had doubts.