By Olivia Bahou
Jan 10, 2018 @ 10:15 am

Margot Robbie made her very first Ellen appearance on Wednesday, but it wasn’t the first time she had met Ellen DeGeneres. The I, Tonya star told a hilarious story about running into the talk show host on her honeymoon, and DeGeneres wasn’t even the most famous surprise guest at her resort.

“I’m scared because my husband is going to kill me for telling this story, but it’s my favorite story ever,” Robbie jokes about husband Tom Ackerley. The two had just arrived at a resort in Tahiti and, unfortunately, the weather wasn’t cooperating, so they decided to get in a workout.

Michael Rozman/Warner Brothers

“We get changed to go to the gym and Tom puts on these shorts that are like his oldest gym shorts and they’re tiny. And they’re like really short and there’s nothing underneath. He gets on his bicycle to ride there and I’m like, ‘Woah, babe. You cannot wear those shorts. I can see everything.’ And he’s like, ‘Oh, come on. Who are we going to run into? I mean, who’s going to be here?’ she said.

VIDEO: Margot Robbie Brought Tonya Harding to the I, Tonya Premiere and Everyone Freaked Out

“And so we walk into the gym and running on a treadmill is Ellen, and then on the treadmill next to her is Portia, her wife,” Robbie said.

“I was already starstruck and then you’re like, ‘Have you met, uh, have you met Obama?’ And we’re like, ‘What?’ And standing next to them is former President Barack Obama.”

“It’s a very confined space, and we then had to do this whole like class, like this stretching class. But Tom meanwhile is trying to not reveal anything. And he’s dying, and I’m crying so much I’m about to crack a rib,” she joked. “This gym instructor keeps saying to Tom, ‘Tom, lunge. Lunge! You’re not lunging!’ And Tom’s like trying to lunge cross-legged, and Obama’s like stepping over his legs to put his weights back.”

RELATED: Margot Robbie Had the Flu at the Golden Globes but Didn't Let It Stop Her

Unlike Robbie’s embarrassed husband, DeGeneres was able to appreciate the humor in the situation. “Ellen looks over and goes, ‘Boy, those were the wrong shorts to wear today,’” Robbie explained.

The talk show host also shed some light on why she happened to be in the same gym as the former POTUS. “He happened to be there writing his book, so we were working out with him every day. And when you walked in and he’s in those shorts I was like, ‘Oh my god, this is going to be hilarious.’”

It sure was.