Author of the Harry Potter novels, JK Rowling, is facing criticism after supporting a researcher who was fired for tweeting "men cannot change into women".
The court ruled against Maya Forstater's views describing them as incompatible with human dignity and the fundamental rights of others.
Rowling posted a tweet in reaction to the court's ruling against the woman.
"Dress however you please. Call yourself whatever you like. Sleep with any consenting adult who’ll have you.
"Live your best life in peace and security. But force women out of their jobs for stating that sex is real?"
She then ended the tweet with the hashtags "IStandWithMaya" and "ThisIsNotADrill".
The post has gained mixed reactions.
Many have been outraged and disappointed with the author's opinions.
One person wrote "I grew up as a trans child reading your books as an escape.
"This decision, to support people that hate me, and want to do me harm. It brings me to tears... Why. Why?"
Another disappointed follower replied, "as a gay man that found safety in Hogwarts throughout my childhood - knowing that Trans people wouldn’t be able to have that safety breaks my heart."
Another user said, "Harry Potter and the transphobe's stone."
But others appear to be in full support of Rowling's post.
One person said "thank you. These are scary times for women who assert their right to recognise objective reality."
Another commented "you said nothing wrong. Social media is completely overrun by self-righteous bullies who use social justice as a means to intimidate others—especially women—into silence over this issue."
Who is Maya Forstater?
Maya Forstater, aged 45 years old worked as a tax expert at the Center for Global Developments.
Her contract was not renewed after she posted a number of tweets criticising the UK government's plans to allow individuals to identify as any gender.
"Men cannot change into women," she posted in her most controversial tweet.
In a crowdfunding page to pay for legal representation, Forstater describes herself as a "mother" and a "feminist".
She goes on to say she thinks sexist stereotypes about women and girls, and about men and boys are damaging for children and adults.
"I am concerned that governments around the world are rushing through laws and policies which say people with male bodies can become women simply by identifying as women."
This is happening without adequate consultation or consideration for the impact on women’s privacy, safety and inclusion."
So far the page has gained £90,630 ($178,339 NZD) out of a £120,000 ($236,133 NZD) stretch target.