Cod has been declared an endangered species: there were only a third as many of them in the North Sea in 1997 as thirty years before.