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