Indian Prime Minister Narendra Modi hasn’t hidden his fondness for foreign leaders. He has embraced themtweeted at them, and sent them birthday wishes—all in an effort to make India a global player in international affairs. So when Canadian Prime Minister Justin Trudeau, he of the perfect coiffure, high-voltage smile, and beautiful family arrived in New Delhi this week for a state visit, it should have been a perfect photo-op. Instead, neither Modi nor any of his senior ministers showed up to receive the Trudeaus.

Trudeau has smiled his way through India, however, meeting with business executives, signing billions of dollars worth of business deals, posing for photographs with Bollywood actors, and donning Indian attire befitting his own Indian wedding reception. The Indians, for their part, have denied the Canadian prime minister is being snubbed (one unnamed official went as far as to call it “protocol”). But a snub it is—and the diplomatic brush-off has its roots in an Indian separatist movement from the 1980s and present-day Canadian domestic politics.

Four events stand out in the minds of those who lived through the era: In June 1984, Indira Gandhi, who was India’s prime minister at the time, ordered her troops to enter the Golden Temple, the holiest shrine in Sikhism, to flush out militants who had taken refuge inside. The military operation, which was called Operation Bluestar, was successful—in that the face of the Khalistan movement, as the separatist movement was called, was killed in the operation. But Sikh religious sentiments were incensed by the violation of the holy site, which was damaged in the assault. Less than five months later, Gandhi’s Sikh bodyguards shot her dead at her home. A massacre of Sikhs across India followed, and in parts of the capital, New Delhi, government officials oversaw the killings. (The issue remains sensitive in India because some of those people who oversaw the killings are still active in politics.) There was still more to come: In June 1985, an Air India flight from Toronto to Delhi blew up over the Atlantic, killing all 329 people on board. Investigators later found that the plot was hatched by Sikh militants in Canada as retaliation for the storming of the Golden Temple.

Sikhs had migrated to Canada for decades, but the numbers swelled during the Indian government’s crackdown on the separatist movement in the 1980s. The community is still relatively tiny—about 1.4 percent of Canada’s 36 million people—but Sikhs are a significant presence in British Columbia (about 5 percent of the population) as well as in Ontario and Alberta (about 1.5 percent of the population in each province.) Many Sikhs are influential in Canadian politics and public life, such as Defense Minister Harjit Singh Sajjan and Jagmeet Singh, the leader of the left-leaning New Democratic Party. Some, but by no means all, of these Sikhs still support an independent Khalistan. More importantly, they vote—and are a key voting bloc in the country’s elections; so much so that any serious Canadian politician who visits India goes to the Golden Temple and prays. (Punjab is the largest source of Indian immigrants to Canada.) The issue of Khalistan has come up during previous visits to India by Canadian leaders, but with less of a dramatic impact in either country.

“Obviously we take this situation extremely seriously,” Trudeau said. “The individual in question never should have received an invitation. As soon as we found out, we rescinded the invitation immediately.”

On the face of it, Trudeau’s visit might have generated the kinds of headlines planners in both countries dreaded. But as Shivam Vij wrote in the Washington Post, “for Trudeau, this trip is all about the Sikh vote in Canada.” The controversy over the trip helps the Canadian leader with a voting bloc that he covets. Without having done or said anything overtly—or even tacitly—supportive of the Khalistan movement, Trudeau will have shown Sikh Canadians that his primary loyalty is to Canada and Canadians—not to what the Indian government might want or think. Modi’s government, on the other hand, is walking a much finer line: ignore what its supporters see as Trudeau’s embrace of separatists and look weak or, alternately, protest loudly and remind many Indians of a separatist movement they’d long forgotten about.

The article appeared in the Atlantic