Somewhat reluctant to be adding to a pretty pointless discussion, but hey here we go !
So yep, HSTs originally given class numbers/set numbers in the DEMU sequence.
Individual vehicles (power cars and trailers) numbered in the BR coaching stock series, in their own new sequence of 4xxxx (a sequence previously used by Mk1 suburban stock, all gone by the time production HSTs had arrived.. also shared with APT-P class 370 vehicles incl power cars which also shared the 4xxxx sequence).
The BR coaching stock series comprising by that time, LHCS up to 35xxx, HSTs and APT-P 4xxxx, DMMUs 5xxxx, DEMUs and EMUs 6xxxx and 7xxxx, NPCCS 8xxxx and 9xxxx.
By the early 80s, 2 changes had occurred which blurred the boundaries and distinctions that some here seem to find so reassuring.
1. The practical realities of day to day operational requirements and maintenance schedules had brought about the practical abandonment of fixed set formations and set numbers in the 253/254 sequences... to be replaced by depot-identified carriage set numbers for HST trailer sets, in the manner also adopted for principal LHCS services and carriage sets.
2. The full incorporation in the early 80s of the BR coaching stock series into TOPS, requiring the renumbering of certain sequences to avoid duplication (eg 25xxx to 17xxx, 50xxx to 53xxx, 56xxx to 54xxx, and later, a handful of remaining 60xxx vehicles)... such that 43xxx HST power cars now retrospectively found themselves nominally in the identical sequence as locomotives (as did coaching stock of all kinds, whether LHCS, HST trailers, DMU, EMU, NPCCS, whatever).
So a notional shift had occured to confuse and confound those that like separate neat categories and separate distinct boxes to put things in..
Meanwhile HSTs carried on being exactly what they always were, namely HSTs, comprising power cars and trailers... And being a way more flexible and versatile design of rolling stock than even their designers could possibly have envisaged or foreseen... as they have been re-formed, augmented, reallocated, rebuilt, re-engined, refurbished, re-configured, re-purposed, re-used... successively and continually to meet changing needs... now extending into their 5th decade... and defying the redundant futility of forcing them into some people's unimaginative fixed either/or binary notions of what rolling stock has to be...
When all is said and done, they are what they are, and what they always have been, and much more than what they were ever conceived to be... And that is HSTs, made up of power cars and trailers, ever-evolving to meet their needs...