What a silly comparison. It's like apples and oranges. According to international law Israel was allowed to do as she did. International Maritime Law allows the interception of all shipping, enemy as well as neutral in international waters as long as they are headed into a Naval Blockaded area and have been warned.
Kerry: Good progress made on Pacific trade deal despite talks failure (Reuters)