In ancient china, past the pleasure district and the outer court housed the inner court with consorts of low, middle, and high ranks but one could only capture the emperor's heart in the inner court.