Federal court tosses agreement over rare-species protections in old-growth forests