Throughout his U.S. diplomatic career, Mr. Rocha always denied working on behalf of a foreign government.