Canada failed to properly protect more than two dozen threatened or endangered migratory bird species across the country — including the marbled murrelet, a seabird that nests in the coastal old-growth forests of British Columbia — a federal justice has ruled.