Unlocking Justice: Navigating the AI Revolution in Criminal Law