Looks like Windows 10 had the same issue! Per a Microsoft dev comment on Reddit:
Microsoft dev here, the internal rumours are that early testing revealed just how many third party products that had code of the form
if(version.StartsWith("Windows 9")) { /* 95 and 98 */ } else {
and that this was the pragmatic solution to avoid that.