Court was the justice system. They were jury courts and very large: the smallest possible had 200 members (+1 to avoid ties) and sometimes 501, 1000 or 1500.
The other type of court you may be thinking of was the king’s court. It’s a term that describes the king’s council and household. The court travelled with the king wherever he went. The king would seek advice from the wise men of his court, which would include relatives, barons, lords, and members of the church such as bishops.
I’m not sure where you got your ideas of court.