I would do the same ..drain well into clean container , refill ,run on a boat get it warmed up.. maybe a hour. Drain and refill with correct gearlube. Look for water and metal particles when draining lubes ,and run a magnet around in the drained lube to check for metal particles. Diesel,while being a good flush agent ,IMHO is going a bit overboard. May damage your gearcase seals,and residual diesel clinging to parts would dilute your new lube.
"Some people want to know how a watch works, others just want to know what time it is"
Robbie Robertson