Any conviction for a crime under any act repealed by this code, which crime is continued as a public offense by this code, constitutes a conviction under this code for any purpose for which it constituted a conviction under the act repealed.
Ca. Bus. and Prof'l. Code § 7