The rules-based world order, which has been the scaffolding supporting the global economy since World War II, appears to be in serious jeopardy. And, judging by the number of eulogies published in recent months, it would be easy to conclude that this system of international cooperation on trade and other issues is already dead.

Concern for the fate of cooperation among nations is understandable. In his attacks on the United Nations, NATO and the World Trade Organization, President Donald Trump has shown his disdain for American commitments to peace, security and trade.

Notwithstanding Trump’s bluster, I believe it’s too soon to mourn the end of international cooperation. While there are some very real challenges facing the global system, when we look at international economic law – one of my areas of expertise – there are several reasons to believe that it can, and will, endure.

Trump has been attacking free trade since his 2016 campaign.

He singled out multilateral trade agreements such as the Trans-Pacific Partnership as harmful to U.S. interests. He also claimed the North American Free Trade Agreement was responsible for accelerating the decline in American manufacturing.

Once in office, this anti-trade rhetoric turned into policy. Trump withdrew from the TPP, demanded a renegotiation of NAFTA and has repeatedly threatened to leave the WTO. And earlier this year, he began trade wars with allies such as the European Union and rivals like China.

In addition to concerns that these actions will harm Americans’ pocketbooks, there is fear that Trump’s strategy is eroding faith in the very rules that promote economic cooperation, including those intended to limit trade protection and constrain retaliation.

Look beyond Trump’s tough talk on trade, however, and you’ll see reasons to be hopeful.

Many cite the president’s attacks on the World Trade Organization as evidence that the system is breaking down.

Trump’s main problem with WTO is its formal system for dispute settlement, which the White House argues treats the U.S. unfairly. Indeed, the United States is sued more often than any other country.

In response, Trump has threatened to ignore WTO rulings and U.S. authorities have blocked the appointment of new appellate judges to the organization.

These moves are certainly disconcerting given that U.S. withdrawal would be a serious blow to a system it once helped build. However, ongoing activity in the WTO’s dispute system indicates that other members still see value in the system.

Instead of relying solely on unilateral trade retaliation, countries have filed 17 new filings against the U.S. this year to combat its tariffs and other protectionist measures. That is the highest number of cases against the U.S. since steel tariffs brought on a wave of disputes in 2002.

But rather than supporting Trump’s contention that the WTO is biased against the U.S., these filings are a statement that economies around the world want the system to work. And for good reason. There are benefits to seeking settlements at the WTO over punitive tariffs.

For example, research shows that WTO dispute settlement works pretty well as a way to combat discriminatory trade policies. Countries comply with the WTO’s rulings about 60 percent of the time. While that may not seem like a lot, given the WTO isn’t strictly able to enforce its rulings, 60 percent compliance is actually pretty good.

By bringing these complaints to the WTO, countries also draw the world’s attention to violations, naming and shaming violators of the rules, effectively damaging the reputations of leaders who erect discriminatory barriers.

And just as importantly, in some circumstances, disputes may even deter future violations.

Governments clearly recognize these benefits.

Another reason trade experts and economists bemoan the end of cooperation is that Trump is snubbing multilateral agreements in favor of bilateral ones, which, he says, can better leverage U.S. market power to secure better deals.

While it’s true that there has been a spate of new one-on-one agreements among U.S. trading partners in the last few years, this isn’t evidence that other countries are buying into Trump’s rhetoric.

Notably, the TPP didn’t die with Trump’s withdrawal. Partly on the insistence of Japan, the rebranded Comprehensive and Progressive Agreement for Trans-Pacific Partnership was signed in March.

This new deal looks like a sign of things to come. Canada currently has a conversation ongoing with Japan. South of the border, Mexico has been talking to China.

Bilateral deals may be seen as messy and even inefficient compared with the multilateral trading system. But that reading is too simple.

It’s important to recognize that the WTO hasn’t undergone comprehensive revisions in many years, and this has led countries to prefer regional and bilateral alternatives.

But these alternatives don’t necessarily signal a turn away from cooperation. Nor are they representative of a global wave of Trump-inspired economic nationalism. Just the opposite. In an effort to maintain open trade routes, countries are seeking alternatives to U.S. leadership.

Certainly, it is difficult to overstate the damage that Trump’s strategy is doing to American diplomatic relations.

By many accounts, his main “victory” on trade – the conclusion of negotiations over a new NAFTA – came at the expense of any lingering goodwill between Trump and Canadian Prime Minister Justin Trudeau.

And that victory, has been seen as much ado about nothing, resulting in very modest revisions to the status quo.

Yet one significant result of Trump’s tirades against trade law is a growing push for much-needed reform at the WTO, particularly by Canada and the EU. If successful, this could result in actually boosting international economic cooperation.

Whether those efforts will be successful is uncertain. But at the very least, countries seem interested in salvaging the system. As long as that’s true, it’s too soon to mourn the end of trade cooperation.

This article was originally published on The Conversation