Under the ruling, Gov. Tony Evers will not be able to extend the public health emergency and mask mandate.