To begin with, you are attributing something to me that I am not. I'm a neurosurgeon, not a neurologist.
We can tell that the brain is functioning properly when patients have all their capacities. We have mechanisms to check on a patient's capacities. That, moreover, is what we do every day, whether by operating on patients, or responding to their requests for medical assistance in dying. The first thing we do is a capacity assessment.
Now, when patients have dementia and have lost their capacities, I believe everyone accepts the situation. What is the state of their brain? Well, the brain is not functioning as well as it used to. I can't tell you much more than that.
How can we say on the one hand that a patient is functioning less well, has lost capacity, and at the same time, that we no longer know whether that patient made the right decision? And yet, throughout life, the patient reported wanting to live in such and such a way and not wanting to reach the end of life in such and such a condition. It's this aspect of the discussion and the argument that I have trouble accepting, from my own standpoint.