This case concerned an illegal ruling by a government agency. An act of law passed by Congress is another matter.
Trump pushed for it.