Erdogan: European ruling on religious classes was wrong