External Relations of the European Union - Legal and constitutional foundations