Doctor Who writer Gareth Roberts has hit out at transgender women.

The writer, who penned six episodes of the sci-fi series and ten for spin-off Sarah Jane Adventures, made the comments on Twitter.

He wrote: “I [love] how trannies choose names like Munroe, Paris and Chelsea. It’s never Julie or Bev is it?

“It’s almost like a clueless gayboy’s idea of a glamorous lady. But of course it’s definitely not that.”

After a hostile response, the writer added: “Oh god it’s the rainbow cult. Bye.”

Mr Roberts penned a number of iconic Doctor Who episodes spanning David Tennant, Matt Smith and Peter Capaldi’s time on the show.

He last wrote an episode in 2014, when he authored ‘The Caretaker’.

The writer mocked a critic on Twitter who planned to complain to the BBC, which airs Doctor Who, saying: “I have never been an employee of the BBC. Also, sod off.”

Mr Roberts did not immediately respond to a request for comment, but did respond to PinkNews following him on Twitter with the words “oh f**k”.

He added: “The Rainbow People are watching my every move now lads.”

Names Roberts made up for Doctor Who include Doomfinger, the Vespiform and Skovox Blitzer, by the way. We’re not sure how well they’d go down at the passport office.

Of course, the Doctor herself recently revealed a change of gender.

It was revealed two months ago that Jodie Whittaker would be playing the next incarnation of the traditionally-male Time Lord, after the departure of current star Peter Capaldi.

As the Doctor’s real name is a great secret on the show, she is unlikely to change it to Chelsea or Paris when she changes gender.

Roberts is not one of the writers rumoured to be working on the upcoming season under new showrunner Chris Chibnall.

Whittaker said recently: “It’s more than an honour to play the Doctor. It means remembering everyone I used to be while stepping forward to embrace everything the Doctor stands for: hope.

“It feels completely overwhelming; as a feminist, as a woman, as an actor, as a human, as someone who wants to continually push themselves and challenge themselves, and not be boxed in by what you’re told you can and can’t be. It feels incredible.

“I want to tell the fans not to be scared by my gender. Because this is a really exciting time, and Doctor Who represents everything that’s exciting about change.

“The fans have lived through so many changes, and this is only a new, different one, not a fearful one.”

In 2015 Bethany Black became the first openly transgender actress to appear on Doctor Who in a guest role.

Related: Dear Doctor, We regret to inform you that you are still legally a man