25-year-old climate activist had taken the German government to court last year and won