I guess you are right, sorta like teaming up with Russia in WWII to defeat Germany/Japan.
The enemy of my enemy is my friend......