Putting the tube back in was the obvious "declaratory and injunctive relief. . .necessary to protect the rights of Theresa Marie Schiavo." It really doesn't take a Scalia or Bork to figure that one out.
Provided the judge determined the suit had merit. And he determined it did not.