It probably should still output a warning and list all identical files, so they can be tackled manually after the upload. Giving preference to the media file from the GLAM probably makes sense, but you still want to substitute any other identical files, right?
Am I understand correctly, you suggest to remove volunteer uploaded files by GLAM uploaded files?
charles