The solution would be for the seller or purchaser to obtain a test report on the wiring before the house is sold
In most cases, any DIY wiring would have been done in addition to what was already there, and purchasers should want a test report covering that anyway.
So from the selling point of view, the issue becomes one of who pays for the test and the report.
Certainly if I were buying a property, I would want an independent report on the wiring anyway.
.andy
To email, substitute .nospam with .gl