 The actual original function of the Shirvanshah complex is still under investigation.Though commonly described as a palace, some experts question this.The complex simply doesn't have the royal grandeur and huge spaces normally associated with a palace; for instance, there are no grand entrances for receiving guests or huge royal bedrooms.