Wikipedia employs multiple taxonomy databases. The page gives an idea of conflicts of consensus and for official species classification. The ball python has 10 levels of classification and the rose has 11. One is a plant, the other is a reptile. Biology didn't give them tidy class and phylum ranks.
I don’t think we need to get rid of [taxonomic ranks]
[...]
What we need to abandon is the unwarranted connotations that higher-level taxa are comparable. Because they aren’t. They are abstractions. They are information storage boxes. That’s all they are.
Ronald Jenner, a phylogeneticist
Linnaeus invented ranks (uniform levels of nesting that he applied across groups of organisms) to organize his understanding of diversity. The original ranks designated by Linnaeus were kingdom, class, order, genus and species, and others, including the phylum, have been added since. As phylogenies improve, some have called for the abandonment of ranks to avoid implying that different clades given the same rank are comparable.
There have never been clear objective criteria for designating a clade as a phylum. There is, for example, no known property that is shared by all echinoderms or all molluscs, both of which have been designated as phyla, and that would distinguish these clades from more or less inclusive clades that aren’t phyla, such as deuterostomes or bivalves. This has provoked considerable discussion about whether the categorization into phyla says more about the way humans perceive animal diversity or the biological processes that generated this diversity
Ref.: Andreas Hejnol, Casey W. Dunn, Animal Evolution: Are Phyla Real?, Current Biology, Volume 26, Issue 10, 2016, DOI: 10.1016/j.cub.2016.03.058
UK and USA textbooks don't have the same number of kingdoms, one has 5 and the other has 6, other theories have 32.
Super and sub ranks also exist, like superfamily and subphylum.
Taxonomy is most often a spectrum of variety with unclear or overlapping divisions, like a rainbow, and words are attempts to put labels onto the divisions of the spectrum.
Different cultures and regions employ words that segment the spectrum of knowledge into different compartments, artificially. That is especially mired by the complexity of taxonomy grouping.
For taxonomic hierarchy, there’s some sense in which the phylum and the species both have rigorous currency, however the intermediary levels are a kind of construct.
Ref.: https://www.quantamagazine.org/phyla-and-other-flawed-taxonomic-categories-vex-biologists-20190624/