Same thing almost happened to me. I painted my truck a custom color, totaled it 4 weeks later, so when I went to get the inspection, the vin sticker was painted over on the doors, but luckily I hadn't repainted the new parts yet. The guy said he could have took my door but since it match the rest of the truck that was painted pre-wreck, he knew it wasn't replaced. Just a recommendation, don't paint anything until after inspection, makes everything more obvious on what was replaced.