Court inquiry into former prosecutor's actions has emotional moments