The text below is taken from the Castrol Website, it seems the difference in the two oils is to do with soot and acid which is produced in Diesel engines and not petrol ones.
Castrol GTD Diesel is a high performance engine lubricant suitable for many modern, naturally aspirated, turbocharged, direct and indirect injection diesel engines. It is specially formulated to protect the engine under all driving conditions - from cold start, urban stop/start motoring to high speed motorway driving. Castrol GTD Diesel is formulated for optimum soot dispersancy, giving it a class leading soot handling capability, protecting the engine from wear and keeping it clean.
* Disperses soot particles and so prevents large soot deposits from forming and damaging the engine
* Counteracts the acids produced by diesel combustion, therefore achieving 38% extra protection against acid induced engine wear
* Protects the engine under all driving conditions