ON SOHC bikes, frames and engine numbers never match [or very very highly unlikely]
In certain states, WI for sure, they used the engine number for titling purposes.
I have not heard that MN did it, but the bike might have been originally from WI.
In TX, that would be no issue, why does CA have to be so tough?