There was probably a balcony running all around the courtyard at the height of the upper floor.