I suppose it is not as big a problem in a as in a ....?
Theoretically there could be much more possible damages and related expenses in a if trying to run one with gasoline
I have some experience with miss-fueled VAG and other engines. Although in Factory Repair Manual for engines is told that complete fuel system (high and low pressure parts) must be replaced, if engine is started after miss-fueling, in real life only rare cases ends with replacement of expensive parts stright after miss-fueling. Mainly engine just shuts off and can't be started anymore - gasoline does not ignite from compression or vice versa diesel does not ignite from spark.
But it depends a lot of ratio between correct and incorrect fuel and distance driven with that mix.
I have at least two cases with miss-fueled gas engines where no big expenses at first repair after miss-fueling (just spark plugs, fuel filter and labour), but some 10000-15000 km later catalytic converters went out of order...
Can't present similar examples with miss-fueled diesel engines because pumps and injectors quite often use to die by themselves and it's impossible to say was it a consequences of miss-fueling some 10000 km ago or not.