Although the researchers cannot totally rule out the possibility that people with depression may eat a less healthy diet they believe it is unlikely to be the reason for the findings because there was no association with diet and previous diagnosis of depression.
It would be good to know how much processed food within some recurring time frame - say weekly - the people with recurring depression ate.
The thing to keep in mind is that Western science made a dichotomy between the mind and body for religious reasons. In reality, they are completely interrelated. Eating unhealthy food will eventually affect your mind: right now it's just not predictable how or to what extent.
Note: I'm not saying that poor people are all sad and rich people are all happy. My real world experiences run to the contrary in significant ways. I'm just suggesting that amongst these civil servants, there could be an economic feasibility bias that impacts the correlation and would further suggest against causation.
EDIT: corrected poor grammar.