Of course this is the case, but rather than lying, I think it is only a consequence of selection bias. You don't see the experts rejected by the prosecution (or defence) for opinions that aren't helpful, because of course they won't be invited to testify.