An emergency Bill was brought forward by the Scottish Executive to prevent further exploitation of this loophole, becoming the Mental Health (Public Safety and Appeals) (Scotland) Act 1999, the first Act of the Scottish Parliament. As emergency legislation, it was repealed and replaced by the Mental Health (Care and Treatment) (Scotland) Act 2003 on 5 October 2005.
The Scottish Executive introduced an emergency Bill to prevent misuse of this loophole, which became the Mental Health (Public Safety and Appeals) (Scotland) Act 1999. This act was later repealed and replaced by the Mental Health (Care and Treatment) (Scotland) Act 2003 on October 5, 2005.