German court confirms intelligence agency’s labelling of AfD as extremist