Spares or repairs

2008 Jaguar XF 2.7d Premium Luxury Auto.
90k with accompanying service history.. 2x keys + service book pack.
Finished in the lovely British Racing Green with tan leather interior.
Fully loaded with heated seats, satnav etc. recent tyres and brakes.

The car was running and driving very well with no warning lights or issues until it cut out.
Excessive oil found in the inlet pipe. I suspect it had a dpf issue and put fuel in the oil.
The Engine does run but is smoking and knocking.
In my mechanical opinion, the car requires a Replacement engine.

Just to be clear, the car runs enough to put it on a trailer, but no longer than that.