NEW DELHI: Canadian prime minister Justin Trudeau’s visit was a disaster that has little parallel in India’s recent diplomatic history. But as the Canadian prime minister returned home on Saturday after almost a week of recurrent diplomatic missteps, ironically, it may have provided the opportunity to reset relations between Canada and India.

On Saturday, Indian government officials were angry at suggestions by Canadian officials that India was responsible for Khalistani terrorist Jaspal Atwal getting a visa to India and used his presence to embarrass Trudeau.

Trudeau, in his meeting with prime minister Narendra Modi , also complained that his visit had been shadowed by a single issue. Atwal got a visa because he was taken off the blacklist some years ago. But he was part of a number of Trudeau’s own events that did not involve the Indian government at all.

A prime ministerial visit to a foreign country for a week with a thin official component is always fraught with danger. In addition, moving the official meetings to the very end of the trip indicated that the government meetings were an after-thought. Most foreign leaders who throw in other events almost always front-load the official meetings, and then go on to business or tourism events.

Here, it was clear from the start that Trudeau came to India to score with his Sikh constituency back home — four out of the six cabinet ministers who travelled with him were Sikh, as were an overwhelming number of MPs who also travelled with him. Until the media barrage in India forced the Canadian side to change tack, Trudeau was not even ready to meet Amarinder Singh , chief minister of Punjab. Even the Canadian high commissioner’s official reception was a celebration of Punjab with the prime minister himself waltzing in on bhangra beats.

The most glaring misstep was not that Trudeau and his family dressed up in gaudy clothes — that could pass off as a celebration of Indian ethnic chic even if it was slightly over the top. It was Canada’s misunderstanding of the depth of feeling in India on the Khalistan issue. Canadian officials compared the Khalistan issue to the Quebec separatist movement — which counted a single death (of a minister, Pierre Laporte) as opposed to the tens of thousands who were killed at the hands of Khalistanis. Over the years, successive Indian governments have tried to get Canadian governments to change their minds.

“Canada is the only country where the head of government is comfortable to be seen with Sikh separatists,” said senior government sources. There are Khalistani activists in the UK and Australia, but in no country is the government seen to be pandering to these forces. In the event, the joint statement issued at the end of the week-long visit, which named the Babbar Khalsa and International Sikh Youth Federation along with al-Qaida and ISIS, passed everyone by. There is no political cost either — both these groups have been banned in Canada. Officials said they had flagged the Khalistan problem to the Canadian side before the visit began, including at the NSA level during the last round of security talks.

As for Modi not showing up at the airport to greet Trudeau, first, there is reciprocity involved in these gestures — Netanyahu and UAE crown prince both received Modi at the airport. The Canadian expectation was unfounded also in view of the fact that the bilateral relationship is not deep enough to warrant that break from protocol.

The official discussions, when they happened, threw up a lot of good stuff — for instance, Canada got some much-needed comfort from India on pulses, as well as a separate pact on tackling terrorism. But it may take a long time to change perceptions here, particularly if Trudeau goes back to the same old after his return.

