A drunk man screamed racist abuse at staff in his local takeaway after they refused to give him a free meal, a court heard.
William McNeill also shouted "Al-Qaida" at workers in the kebab shop.
McNeill, 42, appeared for sentence at Livingston Sheriff Court yesterday. He had earlier pleaded guilty to acting in a racially aggravated manner and using racially offensive language towards restaurant worker Hazim Hashim on February 27 this year.
Sheriff Donald Muirhead fined McNeill £500.
He told him: "The court has a job to teach people not to behave in a racially aggravated manner the way that you did."
Stewart Peebles, defending, said the accused had visited the busy restaurant many times before without any problems.
"He works as an HGV driver abroad with people from all nationalities and places and he has no difficulty with them whatsoever. He was very drunk on this occasion and has little recollection of anything."