Sofia Vergara isn't above using a little trickery to get what she wants.

In a new Diet Pepsi commercial, the spicy Modern Family star, 38, tells her nearly 500,000 Twitter followers that David Beckham, 35, is playing soccer just down the beach. The reason? To convince them to lose their place in line so she can order the ice-cold beverage.

"It was great working with David. He's so natural," Vergara tells Us Weekly (watch above). "I am a very big soccer fan because I am Colombian, so it was very fun to work with him."

Beckham -- who has endorsed the soft drink for more than a decade -- was pleased with the final cut. "It's going to be a good one," he tells Us.