Human Rights Commission welcomes Court of Appeal decision overturning care ruling