I think one thing needs to happen for D&D PCs to be "properly" deferential to their superiors: the DM needs to inform them that this strict caste system exists.
The problem here is that standard three-book D&D is so far removed from actual medieval society that you can't assume anything is...