Are there differences in the extent of liability of a company in Japan (subsidiary company), a branch office in Japan (branch office), and a representative office when lawsuits are filed against them?

★ Explanation ★
If suits are filed against a subsidiary company, the extent of liability naturally covers the subsidiary company itself; however, since the foreign company in the “home country” and the subsidiary company in Japan are considered separate entities, liability generally does not extend to the foreign company.
For a branch office, since they are considered part of the foreign company, in the case that a suit is filed, the foreign company is also part of the extent of liability.
The case for a representative office is a little more complicated. In the case that a lawsuit is filed, generally, the representative of the representative office is liable. However, if the foreign corporation itself is deemed to have some responsibility, the liability may extend to the foreign corporation.