A SPANISH judge who asked a rape victim if she tried closing her legs to prevent being attacked is the subject of a campaign to have her removed from the courts.

The Clara Campoamor Association, a feminist group supporting victims of crime, is rallying against magistrate Maria del Carmen Molina Mansilla for her “totally offensive” questions violating victims’ rights, The Local reports.

The judge, from northern Spain’s Basque Country, was last month assessing a case of a woman who requested a restraining order to be placed on her alleged attacker.

The unnamed victim, four months pregnant at the time, had showed up at her local police station in Vitoria on February 16 to report that a man had “repeatedly abused her both sexually and physically” before appearing before Judge Mansilla.

“Did you close your legs and all your female organs?” Judge Mansilla reportedly asked.

The Clara Camoamor Association said the judge showed a clear prejudice towards doubting the victim’s claims with her humiliating and demeaning remarks. They have called for authorities to launch a thorough investigation.

“(She) showed obvious disbelief of the testimony of the victim, questioned her without allowing her to answer, asking leading and offensive questions,” said member Blance Estrella Ruiz.

Ruiz said this was not an isolated incident for Judge Mansilla, claiming she had put similar lines of questioning to other victims.

“Unfortunately this is not an isolated act,” the association said.

“Such behaviour (by this judge) is habitual and continuous.

“Other women have lodged complaints about the re-victimisation they experienced in this court ... women are scared as to what might happen to them as victims in this court and it is disincentivising them to report such crimes.”