A North Carolina judge has prevented for now an environmental regulatory board from canceling its lawsuit while state courts examine Gov. Roy Cooper’s arguments that legislative changes in the board’s makeup prevent him from carrying out effectively laws to control pollution.

Superior Court Rebecca Holt agreed with Cooper’s lawyers during a quickly scheduled hearing Thursday to issue a temporary restraining order blocking the Environmental Management Commission from dismissing its complaint against the Rules Review Commission, according to court records.