Court of Justice of the EU will determine if accord with South American nations is compatible with the bloc’s policy.