Earlier quoted context omitted.
> Is it illegal to name a child Adolf Hitler in Germany? Not necessarily (from https://de.wikipedia.org/wiki/Vorname_(Deutschland)#Rechtlic... , roughly translated into English): The law on giving names in Germany is not passed through legislation but is instead the result of customary law and legal precedent/judgements. Exceptions are for example in changing of the given name(s) involving adoption or in the applicat…
A friend from Montenegro, living in Germany, gave a name to his son ending in "a". At first it was rejected because in German all names ending in "a" are female. Had to bring an official paper from his embassy to prove that chosen name is in deed a male one. I think it was before 2008, as mentioned above.
So yes, there are some hurdles to name your child whatever you want and I think this is good for the child. But usually these hurdles are not unconquerable.