That was back when he was a potential ‘agent’ for the CIA. They had to have a valid SSN to legally pay him. So, they gave him one.
According to the practices of our government leadership .... sometimes (or many times) you have to break the law , to follow the law.
Foreign workers have to have a SSN before they can be paid by the CIA?