Court bid to protect threatened species