The Federal Constitutional Court is the supreme constitutional court for the Federal Republic of Germany, established by the constitution or Basic Law of Germany. From Wikipedia
Judges deemed his affiliation with an anti-constitutional party enough to override his right to possess weapons in favor of public safety.