Well, to me, it's because Team Rocket must be included in every episode, for some reason. If they don't do anything, well, that's just the deal. They didn't want them to steal Pikachu this time.
Either that, or Team Rocket is just plain stupid. Which they are.