I have no idea who the dealer is, and as I say I have zero Yamaha experience, but this is just flat out wrong and you're spreading bad vibes about your competition with no knowledge of the case.If I understand stevieb correctly, he would feel vulnerable that his dealer would not be capable of repairing his motor, should something like this happen again after the bike is out of warranty.
This is of course unproven fear, but if his dealer wasn't trained to fix this sort of problems because of proprietary technology or tools or expertise, then his only choice is to pay for a swap out replacement.
The dealer could well be a huge expert, if the motor wasn't withing warranty, it could have been a £5.00 fix that was easily within the skill set.
However the motor is within warranty, so all dealers are training not to open it, send it back and get a new motor at zero cost.
So as a dealer they did what they were trained to, at no cost to the customer or the dealer.