After Japan opened up to the rest of the world in the 1850s after years of isolation, hundreds of British traders and sailors came to live in the country and became the largest Western expatriate community.