Companies should be free to do whatever they want, as long as they pay for all their negative externalities.
It is not OK for anyone to litter, also not companies.
One can speculate that this is an easy way to force the companies to pay for their externalities - given that production in third countries are much harder to touch for the EU.