You have to enter a script and edit the game files a little bit for it to work with patch 1.5 I believe. But I don't think it's worth it because the AI diplomacy doesn't talk with the AI military. Thus leading to whatever you force them to do, to cancel it in a few turns.
I am the Carthaginian who became an angel, and surrendered his wings for a life on the sea of battle.
My magic screen is constantly bombarded with nubile young things eager to please these old eyes. This truly is a wonderful period in which to exist! - Terikel the Deflowerer