A dozen Civil Guard officers were treated after they were mildly injured when knocked by stones and sticks.