I bought a 200x (can't remember what year it is) 3.0d for my ex wife about a year and a half ago with 156,000kms on it. At first, seemed a good buy, car went pretty well, comfy, good power.
However, since then, it's been a ball ache of not. Replaced the vibration damper for about R6k. OEM part from BMW, not fitted by them, labour costs to exorbitant. It's had endless issues with overheating, despite being in about 4 times to have the issue resolved. The CD Shuttle didn't work from the word go, and hasn't been able to be repaired, cost of a new one doesn't deserve replacing it, so she uses the AUX and listens to the radio. She now has some rattling noise coming from the passenger side of the engine bay.
I've also had to have the EGR valve removed and cleaned, but not done any bypasses on the system. There was also an issue with the MAF or AFM or whatever these car used, car was lumpy and wouldn't accelerate, removed the MAF/AFM and the car ran absolutely fine. So had that replaced at some stupid cost.
I don't think it's necessarily the car, I think it MAY have been slightly unloved by it's previous owner. My initial impressions were pretty good, although I was slightly surprised by the fuel consumption overall. Average initially was around 12-13L/100kms, think she's managed to get it down to around 10-11L/100kms. But then again it is a big vehicle, so maybe not too bad in the greater scheme of things.
But ya, if you can get a decent aftermarket warranty (which may be difficult considering the mileage, there are others here way more clued up than me on that), and it passes all it's checks with flying colours, you'll love that smoothness of the engine and the delivery of the torque from quite low down, and it is a comfortable car to cruise in.
Just my 2c.