What law made it ok for foreign countries to by US T-bills? I am really curious, because it used to be they weren't for sale to foreign countries for the precise reason you mentioned in your post.
Foreigners have been buying US debt for centuries; the French owned US debt after our nation's founding. I don't think there's ever been any law.