"We have finally found an agreement" says EC President