Sure, but it does parse them and it does rightly understand that one is an newer version.
That’s… compatibility.
Newer is not always compatible. That's why SemVer looks like work to authors. They don't like to think about compatibility.