However, its foreign minister warned a deal would not automatically result in the reopening of the crucial waterway.