According to the article, this ban is "thanks to amendments that Congress made in 2016 to fix the Toxic Substances Control Act".
Wouldn't a change in law override the judges? (Unless the judges based their ruling on the constitution, which doesn't sound like the case here.)