Help... Vin #'s dont match

Having a rebodied car might not be a problem if all the guy wants to do is drive it himself, but he would have problems if he ever decided to resell it. Not only that, but what if some other thieving turd steals it and removes the VIN? How would he prove that the car belonged to him if the title didn't match the numbers on the body?