If they fail they should be partitioned from society and monitored until counceling brings them to mental stability.
I’m seeing mental problems everywhere; in person and online (name your social media). Most people are clearly mentally unhealthy, they are polarized, sociopathic, delusional, depressed, etc crossing way passed unsafe levels, and we just let them crawl around society.
Now we all can verify that mental problems are increasing rapidly but the numbers would be much higher if they actually were all reported.
I’m going to leverage my connections in society to push a bill to make this reality

I’m not sure if you are genuinely this trusting of institutions, but weaponized psychology has been a tool of oppression for the field’s entire existence; lobotomizing anyone deemed “degenerate”. Feminists were deemed insane. Women who reported domestic abuse were deemed insane. Homosexuality was in the DSM-4, and there are STILL gay conversion programs running now in the USA and other countries. “Gender dysphoria” is a condition in the DSM-5.
Also consider: if the government is mandating the evaluation, they can easily weaponize it to stifle dissent. Any “safeguards” against that type of behavior would ultimately collapse the moment the government just decides it doesn’t want to follow said restrictions. What would that look like now in the USA? Is opposing the PotUS a symptom of Trump Derangement Syndrome. In the UK, is opposition to the Digital ID system of excessive paranoia? of “histrionic personality disorder”?
Just hear from experiences of people who were exploited by hospitals and other psychological institutions, including in the USA of a few years ago. These peoples lives were destroyed under the guise of acting “for your safety”. You’re talking about mass-imprisonment and drugging of people who have not even committed a crime.
…And the worst part is, I’m not even sure this is an unpopular opinion. The widespread adoption of “Mental Health Holds” in recent decades is proof that many lawmakers support these policies. I’ve seen it in the USA, and heard testimonies from the UK and China of the same problem. The President of the United States directly built off this mentality with his executive order Ending Crime And Disorder On America’s Streets. California, which is as far opposite from the current President as you can go, recently created a parallel institution for this purpose with its “CARE Courts”.