France has officially banned so-called LGBTQ “conversion therapy,” the widely debunked — and potentially dangerous — practice of attempting to change a person’s sexual orientation or gender identity. “The law prohibiting conversion therapy is adopted unanimously,” President Emmanuel Macron tweeted Tuesday. “Let’s be proud, these unworthy practices have no place in the republic. Because being yourself is not a crime, because there is nothing to be cured,” he added. The bill, which had been approved by both houses of the French Parliament late last year, was officially adopted on Tuesday after a final unanimous vote by lawmakers, the Agence France-Press reported. The legislation outlaws “practices, behaviors or words aiming to modify or repress [a person’s] sexual orientation or identity, having an effect that alters their physical or mental health” and it carries a new offense in the penal code of up to two years in prison and a fine of up to 30,000 euros (around $33,900).