Japan should avoid aggravating historical tensions in a diplomatic row over South Koreans forced to work for Japanese firms during World War Two, South Korea’s foreign ministry has warned.