Is court used to mean the same thing in the next two sentences (see options)?

The queen and her court traveled to the city to welcome back the soldiers.

The house was built around an inner court.

Choices:
(I) different meanings
(II) the same meaning
(I)