There are a pair of thermostats on the TDCI which play up, the regular pump thermostat and what's known as the oil cooler thermostat.
It could well be the temp sender sending a faulty reading, which in turn triggers the car into limp home mode. I'd get the fault codes read if I was you, see if it helps pinpoint the problem before spending on random things.