To clarify, French judges can order paternity tests as part of a hearing.
Germany has restrictions on paternity tests as well.
Reply on news.ycombinator.com