`dfx canister install` for a pre-existing module

What does the following command do?

dfx canister --ic install -m auto cycles_ledger

when I have in dfx.json:

    "cycles_ledger": {
      "main": "src/MockCreateCanister.mo",
      "type": "motoko",
      "remote": {
        "id": {
          "ic": "um5iw-rqaaa-aaaaq-qaaba-cai"
        }
      }
    }

In my understanding, it should do nothing (and return true (status 0) to the shell). Does it do what I expect or what?

This will report an error, since the command says to install a remote canister specifically:

Error: Canister 'cycles_ledger' is a remote canister on network 'ic', and cannot be installed from here.

However, if using the --all option to install all canisters, dfx will skip it:

$ dfx canister --ic install -m auto --all        
...
Skipping canister 'cycles_ledger' because it is remote for network 'ic'