The sides agreed that a legal solution must be worked out that will bring the investment in full compliance with European rules, the ministry said. 

China is financing 85% of the HUF 472 billion cost of the upgrade, which will make the line part of a corridor for bringing Chinese goods to Europe.