Charge a bond that covers the accepted clean up of the estimated oil that's out of ground until it's processed.
At the moment, some governments charge a bond that barely covers the clean up costs.
As someone said, the costs are externalized and companies will go bankrupt if they are forced to clean it all up.