https://www.epo.org/en/node/life-circle-validity-activation-renewal-4

If I get a replacement or renewal smart card, will my PIN code stay the same?

No, each new smart card is allocated a new PIN code.