Legal Dynamics of EU External Relations