NEW DELHI — A 10-year-old girl who was repeatedly raped by her stepfather, and who is now at least 20 weeks pregnant, may be forced to give birth because of India’s restrictive abortion law.

In a case that has become a glaring example of both impunity for rapists and a lack of women’s reproductive rights in India, a court must decide whether the pregnant girl is entitled to an abortion.

A medical board in the northern Indian state of Haryana said on Monday that the girl’s life had not been endangered by the pregnancy, a necessary condition under the law for most abortions conducted after 20 weeks. India enacted that law in part to discourage the widespread termination of female fetuses in a part of the world where boys are preferred.

In making its determination, the medical board said a court would have to determine whether the girl’s case meets the legal threshold of “exceptional circumstances” that justify an abortion.