buying a non operational car in Cali.

how you do this when the DMV requires a smog cert? Case in point 1980 Ford Courier: blown 2.0 motor, Straight body. I have its rusted adopted asian brother, 82 Mazda B2000 with a good 2.0 motor but bad bones and a load of CHP penalties for lapsed registration. I can pick up Courier (and good 2.3 Lima long block in the bed) for less that the registration penalties on the Mazda alone. Do i just get a title transfer (cant smog it with no motor!) and then register it when i get the motor swapped in? It will be parked off the public street in my driveway while i do the motor swap. Heck. even if i scrap the Ford, it ill get a good 5sp trans with new clutch, 4 newer tires, camper shell and bkdy parts and an unmilled head with working carb for spares for the Mazda.