Tory leader warned that 'racist attacks' on her were 'not going to work'