Not trying to be a stickler but maybe it is interesting to someone:
There actually is a small corridor sorrounding the town of Neum where B&H has sea access.
It is a problem for Croatia since it cuts through Dubrovnik-Neretva and is a hindrance for transit in general.
Just because of this Croatia is now building a bridge to bypass the area.
en.m.wikipedia.org
Dubrovnik is beautiful.