Convicted cop to keep his job