Courts in both nations say TRIPS pact cannot be invoked unless they satisfy the domestic law