20 C.F.R. § 404.1032 Work for a foreign government.
Title 20 - Employees' Benefits
If you work as an employee of a foreign government in any capacity, your work is excluded from employment. If you are a citizen of the United States and work in the United States as an employee of a foreign government, you are considered to be self-employed (§404.1068(d)).
Title 20: Employees' Benefits
PART 404—FEDERAL OLD-AGE, SURVIVORS AND DISABILITY INSURANCE (1950– )
Subpart K—Employment, Wages, Self-Employment, and Self-Employment Income
Work Excluded From Employment
§ 404.1032 Work for a foreign government.