Supposedly, the higher tier of units appear in the levies depending on the percentage of nobles and citizens in the culture.
If you have more freemen, lower tier units are present in the levies.
Only applies to levies.
(I have not tested this in the game)