Thanks for reporting. Yes, if the new number already exists, then it is not assigned to the train. This validation is already done. In the above case, the updated did not take place: 20814 was not assigned to 22194, as the number is already in use by a different train.
.
However, an erroneous TL Entry was being generated. This has now been fixed, and the TL Entry will not be created.
Thanks.