You sometimes have to join forces with those you’d rather avoid.