The federal judge who struck down the Obama administration’s moratorium on deepwater drilling after the Gulf oil spill held the Interior Department in contempt Wednesday, and ordered the federal agency to pay attorney fees for several offshore oil companies.

U.S. District Judge Martin Feldman chided the department for its “dismissive conduct” after he overturned the agency’s decision to halt any new permits for deepwater projects and suspend drilling on 33 exploratory wells after the Deepwater Horizon blast, which killed 11 workers and triggered the massive spill.