A court has barred US drug company Merck Sharp & Dohme from denying that an agreement made with German pharmaceutical company Merck KGaA was governed by German law, settling a key question before a trade mark case between the two drug giants goes to trial.