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.
Russian airstrikes hit Syrian provinces of Hama and Idlib (Reuters)