Two ex-police officers and a force solicitor are acquitted of perverting the course of justice.