If the British 5/8 and the other old British units are not imperial what are they?Not exactly. DIN thread is 5/8 - 14 BSP (British Standard Pipe). That is different from imperial threads used in US.
It is a relic of the past, but DIN standardised it because that thread was common here in Europe.