If you have a quarrel with your neighbor over the right of way, the appropiate behavior is to attempt to settle with him through negotiations and the intermediary of a third party. Taking legal action is always the last resort, after every other means has been exhausted. I think Turkey behaved properly.
Donald Trump: Israeli settlement construction in West Bank should 'keep going' (Haaretz)
from the article: Turkey to refer Israel's blockade of Gaza Strip to The Hague