A multinational will establish a seperate legal entity within each jurisdiction, and the local laws will apply to that entity only. See the FBI Apple Ireland spat as an example.
Then there will be a set of interco loans, transfer pricing agreements and management fees to repatriate profits to the group holding company.