Ex-cop admits 'unethical' Lawyer X move