Likely the lawyer is trying to infuence the jury pool. It may be legal, but "it isn't fair"(tm). More and more we see these sort of cases tried in the press, with the LEO made to look bad.