I went on a walk round the tree trail at a local park this week and was surprised to learn dead trees are kept because they provide valuable habitats for birds, animals, insects and other plants - but you can only do that in certain environments, and there must be times when it is not safe.