If you can prove it was done before the new rules came in you might get away with keeping the original id but if it was done recently it would have to have an iva and would be q plated.
I'd stay away unless the seller has a lot of documentation to prove the rebuild.