Appeals court overturns conviction of inmate who pleaded wit