It is true that one must be a member of the Council of Europe if one is to be considered for membership of the EU. But other than that, human rights are CoE matters, not EU. The European Court of Human Rights (ECHR) in Strasbourg is not a European Union body, it is a Council of Europe one.