Today, i reproduced if a minecart can ride a boat, my conclusion was the minecart ride the boat BUT you can't ride the boat or the minecart. For resolve the problem, you need to cut the boat.
Step to reproduce :
Place a boat and a minecart.
Collide the minecart with the boat.
When the minecart riding the boat, click on the boat or the minecart.
Duplicates MC-113871.