But late last year , EU member states agreed in principle to lift the restrictions by the end of June .