Panama on Monday published in its official gazette a Supreme Court ruling canceling key port contracts held by a subsidiary of CK Hutchison, clearing the way for Maersk's APM Terminals to take over temporarily.