Popular Canadian-Punjabi singer Jazzy B has tweeted in support of the farmers' protests
Twitter has blocked four accounts in India - including one belonging to Canadian-Punjabi singer Jazzy B, who has frequently tweeted in support of farmers protesting the government's agriculture laws and, in December last year, joined thousands camped on the borders of the national capital.
The accounts were blocked - they have been 'geo-restricted', meaning they can still be accessed from IP addresses outside the country - after a legal demand from the government on Sunday.
"When we receive a valid legal request, we review it under both the Twitter Rules and local law. If the content violates Twitter's rules the content will be removed from the service. If it is determined to be illegal in a particular jurisdiction, but not in violation of the Twitter Rules, we may withhold access to the content in India only," Twitter said in its statement.
"In all cases, we notify the account holder directly so they're aware that we've received a legal order pertaining to the account. We notify the user(s) by sending a message to the email address associated with the account(s), if available," the statement added.
According to technology news website TechCrunch, all four accounts have posted material critical of Prime Minister Narendra Modi's government or in protest against the farm laws.
Popular singer Jazzy B's Twitter account blocked over a legal demand by the government
Twitter posted confirmation of its action on the Lumen database - an online archive that analyses legal complaints and requests for removal of content to ensure transparency.
This is not the first time Twitter has been told to block accounts tweeting on the farmers' protests.
In February around 250 accounts - including that of Caravan magazine, against whose editors Delhi Police had filed an FIR relating to the Republic Day violence, other journalists and opposition leaders - were blocked for several hours after a "legal demand" from the government.
Four accounts were blocked after a government request on Sunday
Sources said the request came from the Home Ministry and law enforcement agencies, and was made to prevent "escalation of law and order (situation) in view of the ongoing farmer agitation.
The blocking of accounts this week comes amid pressure on Twitter to comply with new rules for social media firms; rules Twitter has flagged as "a potential threat to freedom of expression".
On Monday the company - which faced raids by the Delhi Police last month after it tagged a BJP leader's tweet as "manipulated media" - said it needed more time to comply with these rules.
That was after a thinly-veiled threat last month; the government warned Twitter to "stop beating around the bush and comply" instead of "dictating terms" to the world's largest democracy.
Ostensibly designed to make companies like Twitter and Facebook more accountable for content posted on their websites, the rules have been criticised as an example of the Modi government's efforts to silence criticism and freedom of expression or speech.
The government, in turn, has criticised Twitter for trying to undermine the country's legal system by its actions and deliberate defiance, and returned the 'muzzling of free speech' allegation.
Non-compliance with the new IT rules will result in Twitter losing the intermediary status that grants immunity from liabilities over third-party data they hosted.
In other words, they could be liable for criminal action in case of complaints.
Besides Twitter, the new rules have also spurred a legal challenge from Facebook-owned WhatsApp, which has said the government is exceeding its legal powers by enacting rules that will force the messaging app to break end-to-end message encryption.