Despite the ostensibly cushy deal — which saw the state drop five felony counts and limit prison time — the defendant trod a fine line with his…