Police admit attack was racist