Accident vehicle? Unfortunately only noticed after 3 years

Hello everybody, I’m totally finished and I don’t know how to react. Maybe you can help me. I’m trying to be very brief: I bought a Corsa C from an Opel VH as a used vehicle about 3 years ago. It was sold to me as an accident-free vehicle at that time. So far so good. Now I wanted to buy a new car – with the same dealer – and at the workshop test to calculate the exact value of my car, it was noticeable that the driver’s door on the subject of when accident vehicle I read that a vehicle remains accident-free, if not carrying parts like e.g. the door are completely replaced in the event of an accident. Was I “pulled over the table” in my case??? What can I do now after 3 years? Do I have a legal chance to do something about it??? I would be very happy if someone would answer me. Thank you very much already! vg Simon