'Court' began as a Latin farmyard pen — then a royal yard, then the seat of justice.
A tribunal presided over by a judge or judges for the administration of justice; also, an enclosed area or yard, or the retinue of a sovereign.
From Old French 'cort' (court, yard, retinue), from Latin 'cohors' (genitive 'cohortis'), meaning 'enclosed yard, pen, company of soldiers, retinue.' The word originally referred to a farmyard enclosure, then extended to the enclosed space where a ruler held audience, then to the ruler's retinue itself, then to the act of administering justice in that space. The same Latin word produced