James O'Brien ridiculed the Conservatives for their failed “xenophobic politics”