I think I've got all primary weirdness with the relations at sea just about ironed out.
It turns out that the first time RefreshBattleinterface is called, the list with ships I'm using isn't updated and therefore you get a list of ships from your
last time in 3D sailing mode.
The reason for that being called at all was because for some bizarre reason, it seemed to be required to stop the "victory music" when entering 3D sailing mode with a false flag.
However, I have now come up with a much reliable and efficient approach so that instead of calling RefreshBattleinterface with the wrong list of ships,
it just sets all actual current ships and forts to neutral, so that the correct relations can be set shortly after
without triggering the "victory music".
Extra work done includes getting the "Tortuga is tolerant of pirates" functionality to fully work for the player as well,
including ashore.
So that means Dutch players in Early Explorers WILL be able to safely use Tortuga as a base of operations, despite Holland and France being actually hostile.
Tomorrow I'll get together another ZIP with the latest files, including a complete change log to indicate the various issues that should now be fixed.
And what's "Nueva Espana Flota"? That shouldn't even be a ship name. I recognise that name after reading the web page someone cited for the proposed Treasure Fleet - "Nueva Espana Flota" was one of the treasure fleets and certainly shouldn't be anywhere near Jamaica!
I just double-checked on that one and it isn't strange at all. "Nuev
O Espana Flota" as shown on your screenshot is one of the many random Spanish names that the game can choose from.