The only way for the court to rule to rule aginst her is based on political reasons.
The medical necessity is well-established.
Even if they rule against it, it will only be until a more sympathetic admin. takes office, and it will be overturned later. You cannot stop progress.