According to the general rule, you can't sell it. But there is still an option of selling a car with mechanical
problems
or failed a smog test to some companies, for example, JunkCarsUs.