If you unknowingly buy a stolen car, the police take it back just the same. And you’re SOL.
If you knowingly buy it for two low a price they will take it back and put you in jail.