Periodically, pairs of barbarian units (sometimes even more) appear in allied city states and immediately pillage your trade routes and spill out into your territory and pillage your improvements. Is this a mechanism designed to keep the player 'on their toes' or 'in check'? It is enormously aggravating.