In sequence:

1. Long range = ball, then appropriately change to whatever 'shot' is in range. AI will always fire what is best to fire.
2. As there are no bonus' for double shot or first fire then take shots as opportunity arises.
3. AI Ships to close using fastest sail setting then switch to battle sail automatically when close to or about to sail within range.

I think the advantages would balance out over the game. Otherwise the AI will always be at a disadvantage, well nearly always.