The foreseen and the unforeseen in historical relations between Korea and Japan