Case over turning away asylum seekers heads to Supreme Court