Trade in S80, but take what??

Since my S80 has been in the workshop since June and they have not been able to carry out the repair properly, I have already suggested that the said hands should take my S80 into payment and then I buy another vehicle from it. Now I have made two vehicles in the short choice, but am unreliable which and whether at all: 1.: S80 D5 (new model), 11/2006, approx. 49.000km, 185hp, switch, beige., leather beige (also steering wheel, switch etc., so see r bright inside), hands-free equipment, otherwise usual equipment. Excellent for approx. 25,000.-€ 2.: XC90 T6, 05/2004, approx. 42,000km, 272hp, automatic(4 gear!), black, full equipment, 7 seats, AHK – approx. 27.000.-€ What will ultimately be the purchase price, must then be negotiated – are the excellent prices. Do me a favor both cars, the XC90 is the most important place (especially with children) and automatic. At the S80 the diesel is much more economical, abe r Handswitch. (My next one should actually become automatic again – now also always annoy me about the constant switching) Normal I tend to something more to the XC, but I have already read a lot of negatives about the search especially to the transmission and therefore have now thought that I could get problems with it again at some point. What do you think, would the XC be worth considering or are the models soo vulnerable that I should rather leave my fingers away from it?