PackageKit: Skipping component ... , but downgrades component version

I have 2 package versions, let say 10.01 and 10.02.
I install package version 10.02.
Pkgutil --pkg-info lists 10.02.
When installing version 10.01 then, the installer log says
PackageKit: Skipping component .10.01... because the version ..10.02. is already installed....
So far so good. No payload is extracted. Good.
But ....
After installer 10.02 closes, the package version
(pkgutil --pkg-info) is downgraded to 10.01; apparently.

Is this a bug in "Installer" or "installd" or how to fix ?

Packages are created using pkgbuild / productbuild,
MacOS 10.14, 10.15