A violation of the basic principles of HPLC separation?

How could it be possible that two different molecules of different physical and chemical properties are eluted on the same retention time on the same analytical parameters for HPLC? According to my studies this phenomenon is against the principles of HPLC.