They are to scare elephants.

The Greeks used them once or twice, thus they are in the game

I suggest playing the total realism mod, then all your pigs problem should disappear.