Check layer IDs in addition to POCs
Ref pics from L0 and L1 can both be ILRP from different layers. In this case they have the same POC (equals to current POC) but different layer ID. So, they are different pictures.
Ref pics from L0 and L1 can both be ILRP from different layers. In this case they have the same POC (equals to current POC) but different layer ID. So, they are different pictures.