Table of Ranks: Russian Government
https://www.britannica.com/topic/Table-of-Ranks
In the 18th century, Peter I the Great introduced a system that allowed access to the nobility through rising through the ranks of the civil service. This was a controversial move because it ended the purely hereditary path to the aristocracy and allowed for some social mobility. This is the social and political context in which "The Nose" takes place.