Sodexo Inc., the giant food services company, is in the middle of an unappetizing battle with one of the nation’s largest unions.

And to gain the upper hand, it’s trying a legal tactic that’s had a mixed record in the courts: using federal racketeering laws to quash the union’s negative publicity campaign.