As a result of the code and desire for battle, cavaliers cannot be controlled in battle situations. They will charge any enemy in sight, with the following order of preference:
1. Powerful monsters (dragons, demons, giants, etc.) serving enemy leaders, then the leaders themselves.
2. Opponent cavaliers of great renown, enemy flags and standards.
3. Opponent cavalry of noble or elite status
4. Other opponent cavalry
5. Opponent elite footmen
6. Opponent camp and headquarters
7. Opponent melee troops
8. Levies or peasants

The cavalier’s charge will be made at full speed, regardless of army cohesion, intervening friendly troops, or other such considerations.

https://www.youtube.com/watch?v=usYvefDzOqQ