The state’s top law enforcement official has taken the side of an imprisoned police officer over the DA who prosecuted him.