Is court used to mean the same thing in the next two sentences?

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

The house was built around an inner court.
different meanings