Woman applying to join Indonesia’s national police are subjected to “virginity tests” that are described by recipients as “painful and traumatic,” Human Rights Watch (HRW) said Tuesday.

Although senior police authorities insist the practice had been abolished, HRW claims to have interviewed female police officers and applicants in six Indonesian cities who had undergone the “discriminatory and degrading” test — two of them in 2014.

Nisha Varia, associate women’s rights director at HRW, said the practice “humiliates women” and called on police authorities to “immediately and unequivocally abolish the test, and then make certain that all police recruiting stations nationwide stop administering it.”

The practice is administered as part of the recruitment physical examination, two senior policewomen told HRW, and is intended to determine whether female applicants’ hymens are intact.

One 24-year-old recruit described the test as “really upsetting” in an interview with HRW. “I feared that after they performed the test I would not be a virgin anymore,” she said. “It really hurt. My friend even fainted because … it really hurt, really hurt.”

In response to the HRW report, a spokesman of the Indonesian police told local media that “there are no virginity tests in the selection of policewomen.” But he added: “In the selection process, there are comprehensive medical tests for men. In medical tests for men and women, we also conduct examinations of reproductive organs, not virginity tests.”

However, the Indonesian national police’s jobs website still states: “Policewomen must also undergo virginity tests. So all women who want to become policewomen should keep their virginity.”

Only 3% of Indonesia’s 400,000 police officers are women. Married women are not eligible to join the police.

“So-called virginity tests are discriminatory and a form of gender-based violence — not a measure of women’s eligibility for a career in the police,” Varia said. “This pernicious practice not only keeps able women out of the police, but deprives all Indonesians of a police force with the most genuinely qualified officers.”

— With reporting by Yenni Kwok

Read next: ‘Virginity Tests’ Throw Spotlight on Indonesia’s Conflicted Sexual Morality

Write to Charlie Campbell at charlie.campbell@time.com.