Baker County Circuit Judge Matthew Shirtcliff made the ruling Monday in a lawsuit brought by churches that had sued saying the social-distancing directives were unconstitutional.

The suit had also argued that emergency powers only last for a month and after that Brown would have needed legislative approval. The judge agreed.

Brown said she would immediately appeal the ruling to the state Supreme Court to try to keep the emergency orders in effect.

“This will ensure we can continue to safeguard the health of all Oregonians — including frontline health care workers, those living in nursing homes, workers in agriculture and food processing plants, and Oregonians with underlying health conditions — while the legal process moves forward,” Brown said.