If you have the ability to have such a crossover between two shows in the same universe why would you not do it? Heck they can share villains and even overarching plot elements as well and hopefully feed off each other.
Star Trek made critical blunders in this area with the overlap between...