A German court ruled on Thursday that the domestic intelligence agency cannot label the far-right Alternative for Germany (AfD) party as a "confirmed right-wing extremist" group, at least for now.