The Russian consulate in Hakodate, Japan, was established in the mid-19th century after Russia had gained access to several of the country's ports by 1855. This step was preceded by the opening of Japan in 1853, which marked the end of Japan's centuries-long isolation policy.
Former Russian Consulate in Hakodate, colour photograph, 2005, photographer: Hiroaki; source: Wikimedia Commons https://commons.wikimedia.org/wiki/File:Old_Russian_Consulate_in_Hakodate.jpg, Creative Commons Attribution-ShareAlike 2.0 Generic (CC BY-SA 2.0), https://creativecommons.org/licenses/by-sa/2.0/deed.en.