This established a precedent that the Pope was the one to crown new kings. This caused conflict between Charlemagne and his successors and the Papacy for years to come.
The basis of the division was social class I believe it was devised between the wealthy, middle, and lower class the lower class included slaves and indebted servants