The AI does a good job of realpolitik IMHO. If it was changed so the AI always sided with its fellow religion factions at its own expense, people would complain about that too...

------------------
We speak of deep night, deep autumn; when I think back to the year 1943 I feel like saying "deep war"
Ilya Ehrenburg