Auto-translated
If you have a mixed guard (infantry and archers), and your army includes archers, the AI will target the single units that are blocking the AI's infantry from reaching your archers. This is how all mixed archer-infantry guards are defeated.