From Emperor of Japan: Meiji and His World, 1852–1912, by Donald Keene (Columbia U. Press, 2005), Kindle pp. 256-257:
The first meeting between representatives of the two countries lasted for four days. The negotiations were conducted with ritual politeness on both sides but consisted mainly of repetitions of familiar arguments. The Japanese wanted to know why their attempts to secure a treaty of peace and friendship had been consistently rebuffed; the Koreans in return wanted to know why the Japanese had used titles for their emperor that put him on an equal footing with the emperor of China, thereby placing Korea in a subordinate position. After denying any intent of asserting suzerainty over Korea, the Japanese asked why their ship had been fired on at Kanghwa. The Koreans answered that because the Japanese marines were dressed in European-style uniforms, they were mistaken for either French or Americans. They failed to apologize, saying merely that the provincial officials had not recognized that the ships were Japanese. The Japanese delegates then demanded why the Korean government had not informed its provincial officials of the flags flown by Japanese ships and insisted that this required an apology. The Korean commandant replied that he was charged only with receiving the Japanese visitors; he was not authorized to make an apology.
The negotiations dragged on, interrupted by periods of consultation between the Korean commissioners and their government in Seoul, but on February 27, 1876, a treaty of friendship was at last signed between Japan and Korea. After the signing ceremony, the Japanese offered presents to the Koreans, not only the traditional bolts of silk, but a cannon, a six-shooter, a pocket watch, a barometer, and a compass. The gifts (with the exception of the silk) were strikingly like those the Americans had given the Japanese when the first treaty between the two nations was signed, and the treaty itself had almost identical significance: Japan was “opening” Korea, the hermit nation, to diplomatic relations and to trade. One Western scholar later commented,
As the Western Powers had done with herself, so did she now, without one particle of compunction, induce Korea to sign away her sovereign rights of executive and tariff autonomy, and to confer on Japanese residents within her borders all the extraterritorial privileges which were held to violate equity and justice when exercised by Europeans in Japan.
When word of the signing of the treaty reached the diplomatic community in Tōkyō, the ministers of the various countries asked for an audience with the emperor so that they might express their congratulations. The emperor invited them to a banquet at the Shiba Detached Palace, where each minister had the opportunity to convey joy over the signing of the treaty and hopes for greater and greater friendship between Japan and Korea.