I don’t know if there are any user-visible side effects, but the phone does knows the difference between official and unofficial batteries. Here’s a photo I took of my iPhone 7 showing the internal battery stats immediately after an official replacement during the discount program a couple years ago: https://i.imgur.com/Wo5fSFj.jpg
Thanks. I am not looking to jailbreak yet, so I will have to forgo acquiring these stats for now. I have Lirium Lite, which also does not show the internal stats past iOS 10, due to restricted API.