He apparently watched “The Sopranos” too often.

A car service exec allegedly lambasted an Italian-American sales rep because of his heritage, likening Italians to gangsters and mobsters and telling the Long Islander to “take the spaghetti out of your ears,” when he complained, according to a lawsuit.

Former car service exec Ronald Velocci claims in a Brooklyn federal suit that his boss, Addison Lee Group CEO Timothy Rose, repeatedly commented on his ethnicity and age — calling him a “Guinea” — before firing him unjustly in October 2017.

When Rose allegedly told Velocci to get clients “laid” in order to get them to buy Addison’s business platform, Velocci protested, only to have Rose mock him, “We got a Guinea here with, what is that, a moral compass?”

Velocci filed a complaint with the US Equal Employment Opportunity Commission. Rose then allegedly called other car service companies in a bid to get Velocci blackballed.

“What he did was disgusting, mocking my client for his ethnicity,” said Velocci’s lawyer, Jonathan Tand.

An Addison spokesman “strenuously” denied the allegations.