Which individual held the responsibility to oversee the interactions of the empire's nobles with the court