Replacing an instrument cluster is not illegal. Not complying with the Disclosure requirements and/or tampering with an odometer or the odometer function is what is illegal.