Mr. Yekhanurov told officials in Kiev his country will take all necessary legal steps if the dispute is not resolved .