Quick: name one way that the Confederate States of America contributed to the creation of modern Japan? Well, I'll tell you. In 1864 the Confederate government commissioned the C.S.S. Stonewall, a state-of-the-art ironclad built in France to serve as a commercial raider against Union ships. After the war ended, the ship reverted to the U.S., and was eventually sold to the new Meiji government. During a conflict known as the Boshin War, in which forces loyal to the Tokugawa Shogunate fought against the new government built around the Emperor of Japan (who they figuratively "restored" to power after centuries of being a political figurehead, an event known as the Meiji Restoration), the pro-Shogun forces fled to Hokkaido and declared the island to be the independent Republic of Ezo. After a failed attempt by the famous Shinsengumi samurai to steal control of the powerful ironclad (now renamed the Kotetsu), there was a big naval battle in which the ship acted as a veritable Death Star, laying waste to the opposing vessels while suffering no damage itself. As a result of the Naval Battle of Hakodate, the Meiji Government was victorious, and modernization of the country could continue.
The C.S.S. Stonewall played an important role in the formation of Japan as a modern nation.