Is the bike a write off?
Insurers like to use non disclosure of mods as an excuse not to pay out on a claim.
If they do go down this route then he could say he thought it was legal as this was how it was bought from the dealer and the dealer never raised any issues with the legality of the exhaust.
Good luck