Anorexia patient should not be subject to any more compulsory treatment, court rules