Nobody cares (legally speaking) about any vehicle part, including the engine. The only reason to look for the Vin on the engine is to find out if the engine is oem or not, ie when purchasing used car. The police will check an engine for a vin if they...
It is not illegal to engine swap any vehicle. If you swap engines vin #s won't match but (not illegal), if you buy a crate engine it will just have the engine I'd #s on it.
Anyway, if you buy a used vs new main board how does the imei relate to that?...