During the incident of Tempest Shadow/SpongeBob plans to save the Princesses

Here is how SpongeBob SquarePants rescued the princesses in the past in The Overlord's Revenge.

As they all got here, they all went back in time to the past in Equestria.

SpongeBob SquarePants: Where are we?

Lloyd Garmadon: I have no idea.

Laval: I think we're back in Equestria.

Just then, loud voices are heard.

Batman: Wait. I hear something.

Grubber: Ponieth of Equethtria, we come on behalf of the fearsome, the powerful, the almighty...Thtorm King!

Cragger: Come on, let's check it out.

So, they take a look to see what's going on.

Soon enough, SpongeBob realized what it was now.

SpongeBob SquarePants: (gasp) It must be the Storm King's invasion!

Grubber: And now, to deliver the evil, evil methage, put your hooveth together for Commander Tempeeeetht!

As Tempest Shadow appeared, SpongeBob has to think of a plan to stop the disaster.

SpongeBob SquarePants: Wait, my brain just hatched an idea!

Lloyd Garmadon: What is it, SpongeBob?

Laval: What do you have min mind?

So, SpongeBob told them everything about his plan.

Tempest Shadow: Oh, goody. All four Princesses. Here's the deal, ladies. I need your magic. Give it up nicely, please, or we make it difficult for everyone!

Princess Luna: And why should we cower before you? There's one of you and hundreds of us.

Tempest Shadow: (chuckles) I was hoping you'd choose "difficult".

At last, SpongeBob makes ready to save the princesses before being petrified.