gallery: a covered corridor (especially one extending along the wall of a building and supported with arches or columns)
corridor: an enclosed passageway; rooms usually open onto it
court: a tribunal that is presided over by a magistrate or by one or more judges who administer justice according to the laws