Denktash walk-out would have to be referred to Security Council