Entity Classification Within the Foreign Context and the Tax Consequences of Sec. 987