How to talk to the emperor in chapter 3 or 4?
You must be a noble first. If you are, and you have gone to your mansion, you can speak to Keiko there (on the second floor). Talking to her allows you to buy a carriage, and you can use that to go to the royal castle.
Thank you.