Thoughts on rebodied GTS

What about a car that has been repowered where the engine block vin doesn't match the title? Is that not illegal?