I did that on my GPZ 750 back in the 1980's.
When i went in to the attendant to pay she said.. "I didn't know they made deisel motorcycles... "
Took the tank off drained the deisel, filled with about 1/4 gallon gas, "swished" (shook the crap out of the tank) it around manually, let the fuel lines flow for a few seconds. Dumped the gas. Filled the tank with fresh gas. Rode it for another 40K miles. It spluttered a couple of times in the first 10 miles.