she’s in the infirmary right now, not the maid’s quarters so technically the King can enter as he pleases at the infirmary (since the soldiers are going in and out of the place too) plus he owns the place so I don’t think he’s prohibited from going anywhere. This is a spoiler but—