It is of course the court that decides. We can debate whether it was a good thing to bring up both cases on one slate, since Hamas is a terrorist organization while Israel is a democratic state. But of course it is the court that decides and Sweden always upholds the multilateral system, and that must be said very clearly.
Billström just said the same in Sweden
https://www.svt.se/nyheter/utrikes/hamas-attack-mot-israel?inlagg=62f6f0fd93f4e4db51bc1a13fbd0aa7a