Ministers reach 'collective' agreement on the basis of the UK's future relationship with the European Union.