Panama has formally terminated contracts that gave a Hong Kong company the rights to operate the ports at both ends of the strategic Panama Canal. It was set to keep doing so until 2047 but a Supreme Court ruling in January has annulled the contracts.