Oh I don't think actually switching the pacts would be nessecary. I'd assume either there would be something mutually beneficial about the situation for everyone involved to agree with it or the reluctant party/parties would just have to be coerced somehow. If a Command was needed, assuming the demons can communicate with each other somehow, the demon borrowing the witch could always just ask her pactmate to relay the order.