Foreign Affairs Minister Murray McCully has welcomed an international court's decision that Japan's whaling in the Southern Ocean is illegal but has warned Japan could still try to side-step it.