Windows driver uninstall with DPinst not successful

I have a custom UMDF smartcard driver which I can succesfully install with DPInst:

dpinst.exe /f mydriver.inf

When I uninstall it:

dpinst.exe /d /u mydriver.inf

the default Windows smartcard driver (Microsoft Usbccid Smartcard Reader (WUDF)) fails to load afterwards. It shows the yellow exclamation and its device status says:

The device cannot start. (Code 10)

This behaviour occurs in all Windows versions from Vista to Windows 10.

When I uninstall the driver through Device Manager the default driver succeeds to load afterwards and everything works fine.

I provide the SetupAPI install and uninstall logs (C:\Windows\Inf\setupapi.dev.log):

Installing: https://gist.github.com/anonymous/cff8a288f17909dc6796f2f34504bb4d

Uninstalling: https://gist.github.com/anonymous/b765e3625ecec5b5b71d2d02f2cd43b1