Canada's River Magpie first to win legal rights to safeguard