How the courts exercise judicial discretion?