Now, following an exchange on Twitter, Richardson has defended his script, pointing out that EastEnders has a rich history of tackling challenging topics.
Explaining how the storylining process works, he wrote on Huffington Post: “That story was rooted in reality. That’s how the main soaps generate a lot of their stories.
“A diverse array of writers, from all over the country get together with their story team and producers on a regular basis and they talk about what they’re seeing.”
Going on to comment on the soap’s role as a socially realistic drama, he added: “Now, more than ever, in a divided world, it is the job of artists, of writers, of TV comedy and drama, not only to entrain us, but to reflect the things happening in our world, on screen.
“To show us not only what is familiar, but also wildly different. To reflect the lives of people who are underrepresented, so we can understand those who we didn’t before.
“If getting a brief glimpse into the mind of a man struggling to find his place in the country he lives in makes you uncomfortable then perhaps you needed to see it.”
EastEnders continues tonight on BBC1 at 7.30pm.
You can watch a 60-second rundown of next week’s episodes of EastEnders below.
And visit our dedicated EastEnders page for all the latest news, interviews and spoilers.
Sign up to the Radio Times newsletter for the latest TV and entertainment news