The exit from the Harem opens into the Third Court, otherwise reached through the Gate of the White Eunuchs.
The Gate of the White Eunuchs was one of the openings to the Third Court.
If you enjoy seeing the same episode four or five times, you can be a true fan.