The ruling said the government did not owe a duty of care to protect the Torres Strait islands from climate change.