What does the proverb a cat may look at a king mean?

The proverb means that a person from owner social stature is not limited by the presence of a king. A person can act how he would like no matter who is in front of him.