It is better to spend 20milion on German contractors, then spending just 15m on licenses to foreign company.
I have no idea how you come up with that corollary. All big traditional consultancies are partnerships and any profit is distributed among the partners. If a country (e.g. Germany) makes a loss, then profits from other countries will flow into the country to make up for this.