UN votes to give European Union special rights