A federal judge in Brazil is under fire for approving gay “conversion therapy, ” across the nation.

Waldema de Carvalho overturned a 1999 Federal Council of Psychology decision that banned the largely discredited practice, ruling last week in favor of an evangelical Christian psychologist whose license had been revoked after she offered treatments claiming to “cure” gay people.

“This decision is a big regression to the progressive conquests that the LBGT community had in recent decades,” David Miranda, one of the country’s few openly gay politicians told the Guardian. “Like various countries in the world, Brazil is suffering a conservative wave.”

Rozangela Justino, brought the case after her license was revoked in 2016 for offering “conversion therapy.” She had previously called homosexuality a “disease,” and said she felt “directed by God to help people who are homosexual.”

“There is no way to cure what is not a disease,” said Rogério Giannini, a psychologist based in São Paulo and president of the council.

“It is not a serious, academic debate, it is a debate connected to religious or conservative positions,” he said, adding the council would contest the decision legally.

Singers and celebrities expressed their ire at the decision on social media.

“The sick ones are those who believe in this grand absurdity,” singer Ivete Sangalo wrote in an Instagram post commenting on the ruling.

“That’s what happens in my country. People dying, hungry, the government killing the country with corruption, no education, no hospitals, no opportunities … and the authorities are wasting their time to announce that homosexuality is a sickness,” Brazilian pop star Anitta, posted.

Last week, a Brazilian gay art exhibit was cancelled after right-wing and religious protests.