A court in California has ordered Apple to produce without delay an unredacted version of its recent patent agreement with HTC, after Samsung Electronics said the agreement was relevant to its patent infringement dispute with Apple.