We did a similar job on bigger lines, using a cold cut. The drained diesel can be collected with pumps or a vactor truck. After that, you put a plug made of bentonite, so there is no gases at the welding point.
Then you can weld and flush with diesel.