European Commission President Jean-Claude Juncker said Britain and the European Union agreed a new Brexit deal.