Ex-cop behind bars over alleged threats to kill prosecutor