In general, participants who'd written about a team defeat preferred junk food -- downing more saturated fat and sugar than those who'd written about a victory.
But is it a big deal if you prefer chips to grapes after your team loses? "It could be an issue if a person regularly engages in these behaviors," said Kelly Pritchett, an assistant professor of sports nutrition at the University of Georgia.
Pritchett said that although junk food may not be on par with drugs, people who eat fat and sugar to regulate their emotions may, over time, need more and more to be satisfied.
And the consequences may show up on your bathroom scale, said Pritchett, who also is a spokesperson for the Academy of Nutrition and Dietetics.
So what can depressed sports fans do? Cornil's team found one potential answer.
In a third phase of the study, the researchers had about 160 French adults watch highlights from three different soccer matches. One featured the French national team in a big win over archrival Italy, another showed footage of France's loss to Italy in the 2006 World Cup final and the third was a "control" video that focused on two Belgian soccer teams.
Afterward, half of the study participants performed a "self-affirmation," in which they wrote about a core value in their life -- such as their relationships with their family or friends. Next, everyone in the study looked at photos of healthy and not-so-healthy foods, then rated how inclined they were to eat each.
It turned out that people tended to prefer junk food after they watched France's crushing defeat -- except those who'd done the self-affirmation. They preferred grapes and tomatoes to chips and chocolate, no matter what match they'd just seen.
"[Self-affirmation] helps you 'restore' your identity that has been threatened by the defeat of your favorite team," Cornil said. "In other words, affirming your values prevents the sport defeat from affecting your self-esteem."
The technique is easy to do, Cornil said. If you're feeling down after your team loses, he said, you could simply write down some things in your life that are important to you, other than football.