...the bike is assumed to be in a 100% safe undamaged working order prior to the incident...
If it were my bike, I'd not have the same trust after the event. No matter how or whom does the repairs & services to try & make it right. It will no longer be what it was prior to that unfortunate event. Driver responsibility has to be taken in to account for situations like these, & if the frame has endured damages that can impact it's usability & functionality; not aesthetics, then the suspect frame should be replaced. Should the frame not be available, then the next comparable solution is a new bicycle.
__________________
-YMMV