an emperor is the unelected ruler of a country