South Korea said on Thursday it was recalling its ambassador to Ukraine following a dispute over the transfer of two North Korean prisoners of war which Seoul says violated a confidentiality agreement reached with Kyiv.