Appium executing instances of different device ID

I have two devices, named A and B. In Appium > Start Inspector Session, under Saved Capability Sets, I defined 2 sets of desired capabilities for the devices named. Consider the scenario below :

  • Connect device B via USB
  • Select the desired capability set of device A and click on Start
    Session.
    (Device A is not connected)
    My question is, will the session successfully start, since the deviceName is not pointing to the correct device ? At the moment, it can run for me and I am puzzled about this. Thanks