Man denies being racist after painting ‘Pakis out’ on takeaway and threatening to kill owner with a knife