On the day Donald Trump decreed that those who burn the Star and Stripes in the US will face "consequences", the Indian Supreme Court laid down that the national anthem must be played at the beginning of every show in cinema halls.
Not only that, the doors must be shut during this display of loyalty to the nation.
The diktat is not without reason. If it is played at the end, then there is the possibility of people leaving their seats and crowding near the closed doors.
A similar order was passed at the time of the Chinese invasion in 1962 to instil love for the motherland. Since the anthem was played at the end of the show and the doors remained open, the government noted after a few weeks that the cinema-goers were walking out.
So the practice of playing the anthem was stopped to ensure that no overt, though inadvertent, disrespect could be shown.
It is not known whether there will be a similar realisation this time about the folly of inducing compulsive patriotism.
But the judicial initiative is not unusual at a time of uber-nationalism. Mercifully, India hasn't yet seen the kind of ugly racism which currently threatens perceived outsiders in Europe and the US even if they are citizens. The immigrants are, of course, in greater danger from the white bigots.
But there have also been signs of intolerance of dissent in India with the charge of sedition being readily levied against suspects which induced some writers, filmmakers, historians, scientists and others returning their Sahitya Akademi and other awards.
Not long ago, the Bharatiya Janata Party (BJP) stalwarts argued that those who did not chant, Bharat Mata ki Jai, had no right to live in the country. Now, unsurprisingly, the party has been first to get off the block to support the Supreme Court's verdict.
The idea of wearing patriotism on one's sleeves to avoid being labelled disloyal is unsuitable in a democracy.
It demeans the individual by designating the person as a suspect. It also opens the gateway to vigilantism under which self-appointed xenophobes take it upon themselves to impose what they regard as the law on hapless targets.
Till now, there have been instances of parochial elements at the state-level attacking the people from other provinces. Now, the issue of the national anthem will be yet another grist to the mill of the chauvinists.
It is for this reason that an egregious display of nationalism is associated with fascism and is shunned by mature democracies.
Any upping of the ante in this respect with the promulgation of orders, whether by the government or by the judiciary, tends to divide the nation between nationalists and anti-nationalists, thereby creating bad blood between citizens.
Besides, it is evident that the judicial directive will not be easy to implement. What if someone refuses to stand up?
Who will enforce this "duty"? And what will be the punishment for the offender?
Also, what if, in their eagerness to leave as soon as possible, many of the viewers gather near the exit signs, creating the possibility of a melee when the doors are opened. Moreover, the very idea of shutting the doors is objectionable and unsafe.
There are clearly far too many flaws in the judgement, which is why it has been called bad in law.
As is already apparent, the issue has taken a political turn with the BJP, which has always been ready to flaunt its nationalist credentials, losing no time to jump into the fray. This is typical of politicians who are eager to exploit any divisive issue to advance their partisan agendas.
There is little doubt that those who oppose the judgement will be placed in the category of the so-called deracinated, English-speaking Left-Liberals who have been selected for vilification by the saffron camp ever since the BJP government assumed office at the Centre.
Unsurprisingly, it was the BJP's former Human Resource Development Minister, Smriti Irani, who conceived of the idea of flying an oversized national flag in university campuses to evoke devotion among the students and teachers towards the country.
To many, however, such endeavours have a touch of banality which is susceptible to mockery and defiance, especially by irreverent students who are generally reluctant to conform to any peremptory commands from the powers-that-be.
However, the difference between the world's oldest and the largest democracy can be seen in the US Supreme Court's approval of the act of burning the national flag in accordance with the First Amendment of the US Constitution, which allows, inter alia, the people to "peaceably assemble and to petition the government for a redress of grievances". The judiciary has interpreted flag-burning as a means of expressing a grievance.
In Britain, the use of the colours of the Union Jack on underpants and socks is not uncommon, showing that squeamishness is not necessarily an attribute of loyalty.
Just as an accused is deemed innocent till proven guilty, a citizen's devotion to the nation has to be taken for granted and not tested behind closed doors at every cinema show.
(Amulya Ganguli is a political analyst. The views expressed are strictly personal.)