Actually it's an AI issue. However, it is weird that it happened with the Ottomans only. Normally, either it happens with all AIs and/or civs, or it doesn't happen at all. I've never encountered this kind of problem before, thus I don't know how to fix it yet, and unfortunately there is no work around that I know. I have a weird idea on how to fix it but I am unable to test it out yet, and the idea, for sure, will not work anyways - or, in the best case, it will work but will have some side effects that are not good.
If this might help you : the problem is related to game saving. The AI frequently "memorizes" its progress, and when a game ends, they memorize the victory situation, like the winner team, the map where they played, team size, scores,... The code controlling that is certainly bugged. Try to make the AI3 folder in My documents>My games>Wars of Liberty read-only. This way, the AI will not be able to save its progress.
(fr) Regarde à travers et vois le cygne et ce qui vit au-delà de l'au-delà.