Whether it is a president, king or queen, the symbolic role of the head of state is to act as the father or mother of the nation and your unconscious may therefore summon such an image into your dream to represent the mother or father archetype to guide you or alert you to disruptive or dictatorial behavior within yourself.
If you dream of being knighted, praised or singled out in some way by a visiting head of state, this may suggest that you feel unappreciated by those around you in your waking life. Alternatively, depending on the context of the dream and your relationship with your parents or boss in waking life, a dream head of state may also represent your relationship with your actual parent or boss.
[1]