The tricky thing about mental health is that unlike physical ailments it requires the individual to still persevere and try on their own possible solutions, if someone has given up it's extremely hard to change their minds unless you want to forcefully incarcerate them and force them through psychiatric interventions while monitoring for any potential suicide attempts. Is that what liberty and freedom looks like to you?
Doctors have been wrong and will continue to be wrong all the time, they try their best to the current knowledge, if a whole panel is wrong we can only hope that in the future they will improve, the person's suffering was real to all involved at the time and the decision was taken.
And just to conclude on the same vein of your argument: what if the panel of experts isn't wrong and you are denying people suffering from at least taking their own decisions on how they would like to end their life? Do you prefer that world?