Judge Sharon Gleason called Trump's reversal of environmental protection policy unlawful and invalid.