I had a nation locked on a peninsula, behind my capital. They never got one unit past me, Were too far away from anyone else.. and had no air shrines for flying units.
Despite all of this, they made trade, and thus caused everyone to declare war on me.
(since blocking caravans is a big war crime.. HAH. Thanks to the stupid 'Auto road through your enemy's capital'