The German Federal Courts has ordered that intersex people can be recognised from birth:

http://www.thejournal.ie/germany-thi...85871-Nov2017/