See here. shows the 4 categories for damaged vehicles. D is meant to be the least damaged and repairable but will have a marker on it for insurance purposes. A Cat D often is that it's economically not worth repairing but still generally Ok. I have a friend who buys only Cat D cars as they represent good value, his son in law is on the trade so repairs them for him.
PS - I know a lot about cats...