Perhaps:
580 – Botany and plant science (scientific study rather than growing)
631 – Soil, techniques, tools, and equipment
632 – Plant injuries, diseases, and pests
634 – Orchards, fruits, and forestry
635 – Garden crops (Horticulture) and general gardening
712 / 716 – Landscape design and herbaceous plants in landscape architecture
* https://en.wikipedia.org/wiki/List_of_Dewey_Decimal_classes630 is Agriculture, so there's some clustering there.
Like, consider the parent post's example of "a book about the history of gardening in England". That covers at least two topics, gardening and English history. If you choose to group all the gardening books together in one place, then you force the English history books to be scattered instead. This is just an inherent limitation of reducing a multi-dimensional "topic" space to a linear ordering.
The meaningful question is whether on average, this system is a more useful grouping than alternatives, based on how well it captures the "related-ness" that people actually care about, and how difficult it is for them to find what they're looking for. You can't answer that question by looking at the classification hierarchy alone. It's an empirical question about how users interact with the system.