The historical background of this episode is the Empire of Japan had only recently opened the Japanese homeland to foreign visitors/trade. In order to avoid the fate of other Asian countries and become a colony of European powers, Japan had to establish national independence and equality, while developing military strength.