A civil servant previously in charge of Brexit-planning tells the BBC no deal is fraught with risk.