The Borders was reported to have made extensive use of treatment outwith hospital, and the report found evidence of good care planning and review of orders.
The judge also said that the law "impermissibly attempts to circumscribe a court's ability to review the necessity of nondisclosure orders, " violating the principle that allows the judicial branch to review laws and executive actions.