The traditional “out” in situations like this is for the cargo to be discreetly transferred to other ships, a bit at a time, until the ship is empty. Then sail the empty ship home, claiming that they are “giving up” and returning to their home port. Which hopefully takes them out of the limelight.
Israel accepts first delivery of disputed Kurdish pipeline oil
http://www.reuters.com/article/2014/06/20/us-israel-iraq-idUSKBN0EV0X620140620
Second Tanker of Kurdish Oil Delivered, Two More Loading
http://rudaw.net/english/kurdistan/210620141