This is nothing new. In the old Soviet Union they used to put dissidents in mental wards too. The thinking was simple— you had to be crazy not to know you lived in ‘’The Workers Paradise’’.
Solzhenitsyn wrote about the collaboration between “medical professionals” and the regime. This has been a tactic of the left everywhere. In fact, there is a ridiculous literature created by the left here that attempts to portray conservative opposition as an indication of mental illness or “psychological” problems.