The ruling said warships enjoy immunity under international law and seizing the ship was “a source of conflict that may endanger friendly relations among states.” It wasn’t immediately clear whether the ruling is final and whether it can be appealed.