Plea bargain is deemed a conviction