Beyond the Gate of Felicity ( Bab - Ã 1\/4 s Saadet ) is the Third Court which is the heart of the palace , a lush garden surrounded by the Hall of the Privy Chamber ( Has Oda ) occupied by the palace officials , the treasury ( which contains some of the finest treasures of the Ottoman age , including the Sacred Trusts ) , the Harem and some pavilions , with the library of Ahmed III in the center . Beyond the Gate of Felicity is the Third Courtyard ( III . It is a lush garden surrounded by the Hall of the Privy Chamber ( Has Oda ) occupied by the palace officials , the treasury ( which contains some of the most important treasures of the Ottoman age , including the Ottoman miniatures , the Sacred Trusts ) , the Harem and some pavilions , with the library of Ahmed III in the center .