Koreas reach breakthrough despite border tensions