In my experience, the AI generally does not attack you when defending the plaza IF you're far away enough. So if you could get a good angle with your archers, placing your phalanx in front of them rather than attacking first, the AI will either stay around and get killed, or they will attack and be met with a mouth full of spear. Getting a good angle might be difficult though. Just my 2 cents.