Katello allow duplicate names in Repo

I created a yum repo to hold my own software I compile into RPMs. I was able to upload the same file twice. The versions happened to match as the one was built by myself and the other comes from Epel testing.

Expected outcome:
I understand that in some cases it might be normal to allow this but in this scenario would it not be better to overwrite the old version of the file with the new version as they have the same name? If not could I get a warning?

Foreman and Proxy versions:
2.01 and Katello 3.15

Foreman and Proxy plugin versions:

foreman-tasks 1.1.1
foreman_openscap 3.0.0
foreman_remote_execution 3.2.2
katello 3.15.2

Distribution and version:
Centos 7

Other relevant data:

Can you check if both RPMs had same name but different checksums? That is the other component to how Pulp detects a duplicate.

In this scenario I had two different RPMs, so the fingerprints will differ. I had my version and another version built by the software creator. So the versions were the same but the packages was different and this caused my issue.