For her new film Isn’t It Romantic, producer and lead actor Rebel Wilson insisted on casting openly gay actor to play a gay character.

The film is based around Wilson’s character Natalie, a cynic when it comes to love, who wakes up in a romantic comedy-like reality after hitting her head.

In this new world, Natalie’s neighbour Donny becomes her “gay sidekick, who’s setting gay rights back, like, a hundred years”—as she describes in a scene featured in the Isn’t It Romantic trailer.

“it was really important to me that obviously we cast an openly gay actor for the role of Donny.”

 — Rebel Wilson

“Being the producer of the film, it was really important to me that obviously we cast an openly gay actor for the role of Donny so that the character could not in any way be construed as mocking a gay guy,” Wilson told the LA Times on Monday (February 11).

Isn’t It Romantic mocks various tropes of romantic comedies—the stereotype of the main character’s gay best friend is one of them.

“I think we make a really clever comment about how gay characters have been marginalised in the past few decades,” she told the newspaper, also crediting award-winning producer Ryan Murphy for creating complex LGBT+ characters that have not previously been represented on the screen.

The awards season this year has been nominated by films telling stories of LGBT+ characters—including lesbian period drama The Favourite, Freddie Mercury biopic Bohemian Rhapsody, and Green Book—but these roles are still largely played by straight actors.

As the debate around representation intensifies, Murphy’s longtime collaborator Darren Criss, who is straight, recently declared he would no longer play LGBT+ characters, knowing he may be taking the job away from LGBT+ actors who face stereotypes and challenges in getting cast in Hollywood.

Gay actor Brandon Scott Jones plays Donny in Isn’t It Romantic

Donny’s role eventually went to gay actor Brandon Scott Jones, from NBC’s The Good Place, who also features in Can You Ever Forgive Me?

Wilson was full of praise for her co-star, telling the LA Times: “I’m so proud of him. He just smashes it out of the park.”

Gay actor Brandon Scott Jones plays Donny in Rebel Wilson's new film Isn't it Romantic,
Gay actor Brandon Scott Jones plays Donny in Isn’t It Romantic, a new romantic comedy featuring Rebel Wilson as actor and producer. (Alberto E. Rodriguez/Getty)

“It’s very cool that we’re getting a chance to see stories about queer people,” Jones told the LA Times, noting, however, that “sometimes they’re played by queer people and sometimes they’re not.”

Jones said: “I think we’re moving in a direction where we’re realising, ‘Oh wait, stories that aren’t about what we’ve always seen Hollywood do are universal at the end of the day.”

Isn’t It Romantic premiered on Tuesday (February 12) in California and will stream worldwide on Netflix on February 28.

Read This: The Celebrities That You Didn’t Realise Are Gay