The device itself stores the factory password somewhere, if I recall correctly. When you reset the device, the factory admin credentials and password are restored. If you didn’t save the factory password, removed the password label without noting it down, then you’ll need to request it from the distributor or Mikrotik. Otherwise, you won’t be able to access your factory-reset device, regardless of the device mode.
So why not offer an optional feature, where devices can be registered "somewhere" - like a Mikrotik Devices Controller? If a registered device needs a device-mode change, instead of pressing a button or power cycling, users could authorize the change in their controller. This would only work for devices with active connection to the controller, but it would also ensure that once a device is linked, it can't be taken over by another. This would prevent malicious actors from hijacking devices.