While the decision to prosecute is typically within the discretion of the Advocate Depute, it can be challenged through judicial review if it is believed to be unlawful, irrational, or procedurally improper.