The Imperial Harem was one of the most important powers of the Ottoman court