Photos app accepts the same album name. Is this bug?

Hello,

It is a very simple question. I can create two albums in Photos app, which have the same album names. Is this a bug or not?

For instance, create one album named "test01", then again create the same name album. Two "test01" albums exist.

If I create a code to save an image to "test01" album, there is the same image saved in both albums.

I am afraid if it is a bug. I think the same name album should not be created.

It is highly appreciated if any Apple personnel respond to my question.

Best regards,