Spanish ports are closely monitoring the potential impact of tariffs threatened by U.S. President Donald Trump this month on international trade.