If by illegal you mean a spelled-out loophole that the EPA only decided they didn't like in retrospect. Businesses are run by people that think this is a level of forward-thinking-ness that they aspire to, not something to be avoided. (Source: my own CEO.)