If it was serious enough to get a CAT D then be wary, I say.
Personal opinion on damage is subjective and often underestimted, especially when selling a car.
If there are no before and after pictures of the damage/repair then beware. Remember being CAT D should make it substantially cheaper, and also that works against you when you sell it on.