Bail can be granted by any of courts of Scotland, with the final decision in solemn proceedings being with the High Court of Justiciary. All crimes are bailable, and bail should be granted to any accused person "except where there is good reason for refusing bail". The Bail, Judicial Appointments etc. (Scotland) Act 2000, an Act of the Scottish Parliament, had removed the previous restrictions on bail that meant that murder and treason were not ordinarily bailable. However, a person could be bailed when accused of these of crimes on application of the Lord Advocate or by a decision of the High Court itself. The Criminal Proceedings etc. (Reform) (Scotland) Act 2007 reintroduced restrictions on the granting of bail by requiring exceptional circumstances to be shown when a person is accused of a violent, sexual or drugs offence, and they have a prior conviction for a similar offence.