Did Congress pass a law?
As a matter of fact Congress did pass a law creating the EPA and giving it the authority to regulate the environment with rules.
EPA action must be governed by the courts.