the castle was in an extremely remote corner of the coast not far from fukuoka , the principal prefecture of the island , and in ancient times it had been one of a line of castles facing the tsushima straits , the scene of the famous defeat of the russian navy .