Running into fight with allied troops on my side I noticed that allied lords are mounted and ride with other infantry in a shield wall. This is definitely not right. I'm not sure it is a bug, so I suggest to set lords' groups based on availability of horse and type of weapon.