So in short, the Emperor lost power due to the American occupation of Japan, but we kept the Emperor in place to add legitimacy to our rule for he was respected by the Japanese people.
Because he was hateful to his people, I had to do a paper over this once, because of his hatred to his people they turned against him, it's super interesting you should research it!