Actress Scarlett Johansson is once again at the center of a casting controversy after she accepted a role as a transgender man in the upcoming film Rug & Tug.

In the film, Johansson will recount the true story of Jean Marie Gil, who was born a woman before identifying herself as a man. Under the name Dante “Tex” Gill, she operated a massage parlor and prostitution ring in Pittsburgh in the 1970s.

However, the decision to give Johansson the role has caused anger among gender activists who claim the role should have been given to a real transgender man. Many took to Twitter to express their outrage.

In a statement provided to Bustle, Johansson downplayed the controversy and referenced other actors who have played the roles of transgender characters. “Tell them they can be directed to Jeffrey Tambor, Jared Leto, and Felicity Huffman’s reps for comment,” she said.

Yet Johansson’s detractors have also pointed to the fact that she received similar criticism last year for her role in Ghost in the Shell, where she played a Japanese character that led to accusations of “whitewashing.”

Johansson responded to the Ghost criticism in an interview with Marie Clare, where she claimed she “certainly would never presume to play another race of a person.”

“Diversity is important in Hollywood, and I would never want to feel like I was playing a character that was offensive,” she explained. “Also, having a franchise with a female protagonist driving it is such a rare opportunity. Certainly, I feel the enormous pressure of that — the weight of such a big property on my shoulders.”

The 33-year-old actress is also known for her political activism. She was a prominent participant in this year’s anti-Trump Women’s March and remains a vociferous advocate for the abortion industry. Last year, the Avengers star even teased a possible run for political office once her acting career has progressed.

Follow Ben Kew on Facebook, Twitter at @ben_kew, or email him at bkew@breitbart.com.