Shell was barred from using seismic waves for the exploration of oil and gas in the Indian Ocean by a South African court on Tuesday.