Is it OK to be a racist on the internet if you’re a world leader?

It might very well be, Twitter implied earlier this year, according to critics’ interpretation of a blog post in which the company announced that “blocking a world leader from Twitter or removing their controversial tweets, would hide important information people should be able to see and debate.”

Twitter’s policy may save influential politicians from having their tweets or accounts deleted, but the internet isn’t a totally lawless territory, an Austrian court reminded us last week. The same free speech rules that apply to all citizens, the court argued, also apply to politicians.

The politician they were referring to is Bruno Weber, a city councilor with Austria’s governing far-right FPO party in Amstetten, who went on a beer-fueled online rant earlier this year. Responding to an ad showing a white man and a nonwhite man holding a baby, Weber made racist and homophobic comments, describing the image as “filth” and using the Austrian equivalent of the N-word. He later apologized and offered his resignation, which was not accepted by his party.

Now, an Austrian court has sent Weber to a six-month long counseling program that will teach him manners on how to behave on the internet. Officials will also examine the possible roots of Weber’s racist and homophobic thoughts — and unless he shows signs of remorse and improvement, they can send him back to court.

The FPO politician is participating in a model project that was only launched this year and has so far helped about 60 participants reflect upon their behavior online. Working in coordination with Austrian courts and prosecutors, a German-Austrian association developed the counseling under the name “Dialogue instead of Hatred,” after charges over incitement of hatred jumped from 25 back in 2006 to 827 one year ago.

Despite the significant increase in charges, courts still shied away from sentencing perpetrators in some instances, arguing that a criminal conviction would only embolden their determination.

“Once they are sentenced, many immediately start behaving like victims. They say: ‘I only voiced my opinion and now I’m being punished for that,’ ” said Andreas Zembaty, who works with the “Neustart” company, that is expected to be in charge of Weber’s counseling sessions.

The office of Weber’s FPO faction did not respond to a request for comment, but Zembaty said that he expected the politician to be officially enrolled in the company’s project in the coming days.

Instead of sending the politician or others charged with online incitement of hatred to prison, Austrian courts and prosecutors now have the option to first offer them a voluntary participation in the sessions. If they refuse to participate, courts automatically move ahead with the sentencing. But counseling is no easy escape, Zembaty cautioned. “At the end of the six months, an assessment concludes if sufficient progress has been made to drop the cases,” he said.

Similar procedures already exist in several Nordic countries and would be relatively easy to implement in other continental European countries, where incitement laws are similar. In the United States, free speech laws may pose challenges to sentencing individuals in some cases. But European de-radicalization professionals believe that a modified version could also work in the U.S. judiciary system.

Austria’s Neustart, which predominantly deals with Islamist and right-wing extremist suspects, has been careful to avoid the political stigma any such project could quickly be accused of in a polarized country.

“We’re not a thought police force,” said Zembaty. Instead, the company’s experts examine factors that may have triggered a suspect’s vulnerability to inciting hatred. Often, perpetrators have themselves experienced insults — episodes they need to come to terms with to understand how their own actions impact others.

“Many hurt because they have themselves been hurt,” Zembaty said.

Besides psychological counseling, the team also trains participants in respectful communication techniques on the internet and media literacy. Neustart says that no participant had to be sent back to court after the six-month long training, so far.