Formal approval of the deal from the European Council and European Parliament is required before it takes effect.