The official website for The Settlers of Catan

Question about “Traders & Barbarians” Expansion The Friendly Robber - Do I have to place the friendly robber on a hex adjacent to which I have a settlement or city if any other position would affect players with less than 3 victory points?

Answer

Yes. However, this will happen only in very rare cases.