Why is France singled out ? Similar restrictions exist in other countries, Germany for instance [1]
[1] https://en.wikipedia.org/wiki/DNA_paternity_testing#:~:text=...
[1] https://en.wikipedia.org/wiki/DNA_paternity_testing#:~:text=...
If mom refuses the test at least the father would “know” even if it doesn’t reduce his legal burdens.