I wasn't making it harder than it is: I was suggesting the judgement had.
If you come in to work and make death threats to employees, you may be competent, but you shouldn't be protected and accommodated, safety suggests you should be out of there.
Couching it as somehow an issue of 'incompetence due to stress' seems to introduce too many dubious variables. Other people are stressed, other people are incompetent, they don't make death threats, so this judgement shouldn't apply to them. So it is simpler to make this about the pattern of threats, not stress-related incompetence.
Though the two are connected in this case, the legal reasoning is quite capable of keeping them apart, for the sake of precedent, if nothing else. article.
In this particular case, the outcome was fine. In future cases, without threat of violence? Uncertain.
Accommodation how? As the court pointed out, there was no reason to think assignment to a different supervisor would address the problem. The court's reasoning here seems very sound: there is no accommodation that the employer could make that would both be reasonable (e.g., isolating him in a separate facility with no other workers to avoid putting anyone else at risk is not reasonable) and sufficient to enable him to do his job. Therefore, he is not a qualified person under the law, and is not entitled to relief.
Don't make this harder than it is. If you can't show up and do your job without harming others or making credible threats to do so, you're not qualified. There is no reasonable way to accommodate that conduct.