Answer: The main goal of the Japanese Modernization was to try and avoid colonizing other weaker nations.
Explanation: There were 2 reasons for the Japanese Modernization. The first being to end Japanese Monarchy and to start Japanese Democracy. The second would be to avoid colonizing with other weaker nations.
While you didn't provide us with any concrete answers, this relationship is something related to an alliance, but in reality isn't one because the smaller country is only doing this because they're afraid of repercusions.
Impeachment is a long process and lots of times doesn't work in time. This happened with Bill Clinton. He was on trial to be impeached but finished his term before he could be removed from office.