HONG KONG (AP) — China has hit American-owned vessels docking in the country with tit-for-tat port fees, in response to the American government’s planned port fees on Chinese ships, expanding a string of retaliatory measures before trade talks between President Donald Trump and Chinese leader Xi Jinping.

Vessels owned or operated by American companies or individuals, and ships built in the United States or flying the American flag, would be subjected to a $56 per net ton fee per voyage if they dock in China, China’s Ministry of Transport said last week.

The fees would be applied on the same ship for a maximum of five voyages each year, and would rise every year until 2028, when it would hike to $157 per net ton, the ministry said.

China’s Ministry of Transport said in a statement that its special fees on American vessels are “countermeasures” in response to “wrongful” U.S. practices, referring to the planned U.S. port fees on Chinese vessels.

The ministry also slammed the United States’ port fees as “discriminatory” that would “severely damage the legitimate interests of China’s shipping industry” and “seriously undermine” international economic and trade order.

China has announced a string of trade measures and restrictions before an expected meeting between Trump and Xi on the sidelines of the Asia-Pacific Economic Cooperation forum in South Korea that begins at the end of October.

Last week, Beijing unveiled new curbs on exports of rare earths and related technologies, as well as new restrictions on the export of some lithium battery and related production equipment.

The port fees announced by Beijing mirror many aspects of the U.S. port fees on Chinese ships docking in American ports.

Under Washington’s plans, Chinese-owned or operated ships will be charged $50 per net ton for each voyage to the United States, which would then rise by $30 per net ton each year until 2028. Each vessel would be charged no more than five times per year.

China’s new port fee is “not just a symbolic move,” said Kun Cao, deputy chief executive at consulting firm Reddal. “It explicitly targets any ship with meaningful U.S. links — ownership, operation, flag or build — and scales steeply with ship size.”