He said he was hopeful the two sides could reach an agreement and avoid a referral to the U.N. Security Council .