Well, it will work to keep you safe from defeat now. But given the strength of the spearmen against cavalry and their ability to withstand the charge I would not think it is possible anymore.

Also, the AI will be more observant towards cohesion and addressing flanking units if it can.