Japan and the European Union agreed today to a free trade pact, creating the world's biggest open economic area and signalling resistance to what they see as US President Donald Trump's protectionist turn.

Signed in Brussels on the eve of meetings with Trump at a summit in Hamburg, the "political agreement" between two economies accounting for a third of global GDP is heavy with symbolism. It leaves some areas of negotiation still to finish, though officials insist the key snags have been overcome.

"Ahead of the G20 summit tomorrow, I believe Japan and the EU are demonstrating our strong political will to fly the flag for free trade against a shift towards protectionism," Japanese Prime Minister Shinzo Abe told a joint news conference with EU institutional chiefs Donald Tusk and Jean-Claude Juncker.

"It is a strong message to the world."

Tariffs on bilateral trade - which Abe noted accounts for some 40% of total world commerce - will be phased out over some years

In the works for four years, it has been pushed over the line towards a final treaty signature in the coming months by the election of Trump and his moves to ditch a Pacific trade pact that included Japan and leave talks with the EU in limbo.

"Although some are saying that the time of isolationism and disintegration is coming again, we are demonstrating that this is not the case," European Council president Tusk said.

"There is no protection in protectionism," added Juncker, the president of the executive European Commission, who played down any suggestion there would be further negotiating problems and said he hoped the treaty could go into effect early in 2019.

Fears of cheaper import competition for European carmakers and Japanese dairy producers were among the thorniest issues, but officials said the two sides were driven by a shared alarm at Trump's apparent shift away from multilateral open trading systems towards an aggressive "America First" policy.

Tariffs on much of their bilateral trade - which Abe noted accounts for some 40% of total world commerce - will be phased out over some years and other economic areas, such as Japan's public tender system, will be opened up.

Both sides, which are also forging a parallel cooperation agreement on broader political issues such as security, crisis aid and climate change, forecast that the deal will boost economic growth and employment in Japan and in Europe.

One detail to be ironed out is how complaints from business over how authorities apply the treaty will be dealt with. That is a touchy subject in Europe due to concerns that trade pacts give too much power to big multinationals. European parliaments nearly blocked a deal with Canada last year over such issues.

The European carmakers' lobby had called for at least seven years to phase out tariffs of up to 10% on Japanese cars, and a senior EU official said they would "not be disappointed"

The European carmakers' lobby had called for at least seven years to phase out tariffs of up to 10% on Japanese cars, and a senior EU official said they would "not be disappointed".

Most EU food exports to Japan will see tariffs removed over time, although in some sensitive sectors such as cheese and other dairy products they will still be limited by quota.

More than 200 European products that benefit from geographic protections - for example Parma smoked ham must come from around the Italian city - would not face Japanese competition under those names, he added.

Scotch whisky might not benefit from such a deal, however, as Britain is due to leave the EU in 2019.

Tusk took the opportunity to scoff at arguments in Britain for Brexit on the grounds that London could cut itself better trade deals outside the Union. EU leaders say the weight of the combined economy can more easily crack open foreign markets.

In an ironic nod to Brexit supporters' rallying cry of "Global Britain", Tusk, a former Polish premier, signed off a tweet confirming the Japan deal with the words "Global Europe!"

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.