Do some research on CA sales tax which you might not have to pay. You might have to take delivery out of CA. And then what happens when you register it in some other state.
As a CA resident I didn't pay sales tax on my prior rig which was delivered to NV. I was a passenger with a driver on the trip. As a non resident your situation may be different but you may still need to take delivery out of state.
Be advised that CA is an expensive state to live in and most likely you'll be paying a premium price. And read up on dealer warranty which is often poor and non existent for you.
Case in point: OR fuel prices are $1/gal less.
While I can't answer the smog question please post your findings.