Diesel is an oil, petrol is an alcohol/solvent. A diesel pump relies on the oil based nature of diesel to lubricate the working parts. Petrol cleans away the oil from the moving parts making them run metal to metal and the net result is failure. In actual fact oil does not lubricate it separates. As it resists compression two surfaces with oil in between experience an hydraulic effect called the hydraulic wedge. If it weren't for the reliance on this lubrication diesel engines would run on petrol (albeit not great) so I am sorry but the comments about seals failing are inaccurate. Maybe if immersed for a long time in petrol the rubber seals might start to degrade but it would not happen in the period of a misfuel. As other have correctly stated topping up with diesel is the best approach and 2 stroke can't hurt either. Even a small amount of 5w-30 will help if need be.
Diesel engines run VERY happily on engine oil as has been experienced by anyone who has suffered runaway due to a blown turbo seal or because of failed DPF regens causing an overflow of the sump.
This is a very confusing post. First define oil and solvent? Most oils are solvents and both petrol and diesel are oils. The modes of lubrication in a high pressure, highly loaded system are complex and rely on more than just an oil film. Additives are important. The removal of most of the sulphur from fuels for environmental reasons caused issues for some aircraft and diesel engine fuel systems. Sulphur compounds re surface modifiers, remember the smell of older EP gearbox oils? Thats sulpur and phosphorus. Adding lubricating oil to the fuel does not help lubricate modern fuel systems and can cause gumming and carbon buildup. Stick to products intended for the application.
Robert G8RPI.