Person b steals a car from person a by forging the registration ie a civil manner.
This is not a civil matter, this is a forgery and a crime. Bob did not gain good title in the car, he is in illegal possession of the car.
Then person c steals the car.
Again, a crime, and Bob can not transfer good title to Charly in any way - because Bob does not have good title, even if Bob subsequently agrees to the taking by Charly. And Bob can't (legally) sue Charly to get the car back, because Bob does not have good title.
Alice, the original owner of the car, has good title. She can legally sue Bob to try to get her car back or its value from the day it was taken from her and, in general, be made whole. But Alice was not deprived of the car by Charly, so she can not sue Charly for the damage.
The state may prosecute Bob for the forgery and subsequent theft leading to the deprivation of the car from Alice. The state may also prosecute Charly for possession of the stolen car, and the theft of it.