Maryland is the kind of this. I remember when I moved here and transferred my beat-to-hell 7 year old Mazda 3’s registration, I was assessed the “excellent condition” bluebook value for the car and taxed at 6% of it. I had to laugh, as it had no AC, paint was completely shot, a bent wheel, passenger side window wouldn’t go up and down, and was throwing a CEL that I was forced to address in order to complete the emission portion of the registration of my “excellent condition” Mazda 3. Fees totalled around $800 as I recall. Probably more than the car was worth. I still drive it to this day (7 years later) out of spite.
The 40 got a classic title which meant Maryland basically charged my $50 to look the other way.