At this early stage in its history Japan was already (for the most part) only nominally ruled by the emperor.
Japan was only nominally ruled by the emperor in its early history.
They adjusted their clothing as they stopped by the door after hearing the patron was ready to see them.