Party will offer 'ratification referendum' on final deal.