All rights and obligations are held by the business entity itself. In the case of a subsidiary company that is considered a separate entity from a foreign corporation, the rights and obligations are attributed to the subsidiary company.
In the case of a branch office, which is considered a part of a foreign corporation, the rights and obligations are attributed to the foreign corporation located in the home country.
The case for a representative office is a little more complicated. Fundamentally, the rights and obligations belong to the foreign corporation in the home company. However, if a representative of a representative office or the like engages in a contract in their individual capacity, the representative will bear the legal consequences. In this case, it is the representative individual who holds the rights and obligations.