Discharge of oil from refineries and offshore installations