Here’s a great way to improve the quality of lawyers in Australia. Ensure that lawyers who want to renew their licences after five years of practice are made to sit through a rigorous psychological and psychiatric examination. They should also provide copies of all medical records.

Why? Lawyers are officers of the court. Some go on to become magistrates and judges. We need our legal profession to consist solely of stable, sane and depression-free individuals. We also need world peace, an end to all poverty and a Prime Minister worth voting for.

Two NSW magistrates have had to front up before the Parliament and explain to a bunch of politicians why their mental illness should not render them unfit to perform their duties. One wonders how many of the honourable members listening have (or should have) appointments with psychiatrists pencilled in their diaries.

This is the same Parliament whose numbers once included an opposition leader whose unfortunate gaffe led to a suicide attempt and admission to a psychiatric clinic. This traumatic roller-coaster ride has not stopped John Brogden from becoming chief executive of the Financial Services Council.

Brogden’s depression, a condition he shares with one in five of his countrymen and women, is not deemed by the financial services industry to render him incapacitated to do his job of overseeing the investment of about $1.4 trillion through superannuation, funds management and life insurance organisations. Yet for some reason, the Judicial Commission in its wisdom has decided that magistrate Brian Maloney is incapacitated after being diagnosed with bipolar II, an illness known to be very treatable with standard psychopharmacological treatments.

With respect, those who judge our judges and lawyers should understand that law is one of those professions very conducive to depression in its practitioners. Perhaps a good way to describe a lawyer’s job is to always assume the worst scenarios are going to happen and then protect his or her client from each of them. The best lawyers are almost always the ultimate pessimists. Too much positive thinking is dangerous in the legal game.

Life is especially tough for many small operators whose sources of work are drying out or legislated out of existence. These are often the lawyers prepared to do low-paying legal aid work for average punters. These are the lawyers who would struggle to pay their own hourly rate let alone the fees of the average private psychiatrist.

As magistrate Maloney told the NSW Parliament: “Interestingly, researchers have found that 40% of law students, 20% of barristers and 33% of solicitors have a mental illness. It is from this demographic that judicial officers are drawn. In the past 12 months three barristers have sadly taken their own lives. In recent years, two judges.”

So much of our criminal and civil justice system is carried out by the magistrates courts — simple traffic matters, drink-driving offences, family violence orders, debts and much more. A huge number of unrepresented persons, punters who can’t afford a lawyer and whose matter doesn’t come within legal aid guidelines, are seen by magistrates who generally bend over backwards to ensure no party is unfairly dealt with.

We need magistrates who have empathy and genuine life experience. That includes the experience of the large number of people suffering from mental illnesses who are disproportionately represented in our prisons, as parent-litigants in child protection cases and in so much of the business that comes before magistrates courts.

You’d think having a magistrate on the bench who is successfully managing mental illness would be an asset to the court. In short, if a magistrate is readily deemed incapacitated because of depression or bipolar disorder, the entire court system is potentially put at risk. And that’s enough to make anyone sick.