Conflict of Legal Bases and the Internal-External Security Nexus: AFSJ versus CFSP