Fill it to the neck with petrol and you'll likely get away with it.
however, once the tank is done change the oil, and keep an eye on oil levels during usage of that fuel.
Run the tank as empty as possible before filling to the neck again to dilute any remaining diesel as much as possible.