this is from the list...
DSP BMW 2002 ti & tii (all) Feb-2000
DSP BMW 3 Series (16V NOC) Feb-2000
DSP BMW 325 (all) Feb-2000
DSP BMW Bavaria Feb-2000
now if the car you have, and the motor from the car you want are on the same line, then you can stay in the same class, and it's legal.