Ok for players, but AI ships shouldn't be able to do this .
Once i remember i sailed with 3 Indiamans from La Habana to Key West for goods , I got attacked by 3 pirates , my fleet escaped but I was destroyed by enemies cannon fire , I was taking water and had almost the full crew . I started to board a frigate or something else with 70% of water ... my ship sunk and the boarding was interrupted and I lost .