A Labour MP described a black Conservative candidate as a “token ghetto boy” and said he who would no longer be welcome in her constituency if he was elected in a neighbouring area.

Emma Dent Coad criticised Shaun Bailey, a former adviser to David Cameron who contested the Hammersmith constituency for the Tories in 2010, in a blogpost from the same year.

Ms Dent Coad quoted “former neighbours” as describing Mr Bailey as a “free-loading scumbag” and “the most hated man in North Kensington”.

She also suggested Mr Bailey had been “used” by the Conservatives and that his “public school buddies will drop him like a hot potato” if he failed to get elected.

Mr Bailey labelled the comments “hate-filled” and “racist”.

Ms Dent Coad, who became the first Labour MP for Kensington at the snap general election in June, said in a blog post published on April 19, 2010: “Who can say where this man will ever fit in, however hard he tries?