If you bought the car in another state as a resident of said state, you can bring it here. But yes, smog can be hard to pass for some vehicles. If your car doesn't pass, you can still get temporary registration until you pay for the parts or repairs so it will pass.