New Delhi: Reacting sharply to Bollywood star Shahrukh Khan's detention at a New York airport, India on Friday said "detention and apology" have become a habit with the US which cannot continue and it will take up the matter at the highest level there.

Asserting that "mechanical apology" from the US was not adequate, New Delhi has asked its Ambassador in Washington Nirupama Rao to take up the issue with the highest authorities.

On his way to address students at Yale University, Shahrukh was detained by immigration officials for nearly two hours after arriving from India in a private plane at White Plains Airport, which is about 53 kilometres from Manhattan, and was given immigration clearance after intervention by Consulate General of India (CGI).

Immediately after the intervention by CGI, the US Customs and Border Protection authorities expressed "profound" apology in a letter to them, official sources said.

Noting that it has become a habit of "detention and apology" with the US, External Affairs Minister S M Krishna said this cannot continue, sources said. Krishna is presently in Moscow to attend a trilateral ministerial meeting.

"Repeated problem for same person followed by clearance on account of Consulate intervention and mechanical apology is not adequate," Ministry of External Affairs sources said.

According to the sources, the letter by the immigration department said that SRK's name was "flagged" in the system and airport people needed approval of "senior" authorities to clear him.

"More than an apology will have to take place," Minister of State for External Affairs Preneet Kaur said.

Minister of State for Parliamentary Affairs Rajiv Shukla too deplored the detention of Shahrukh saying what has happened is "not appropriate".