Are car batteries smart now? How would your car know what brand of battery you put in?
Typical car batteries are not yet so 'smart'. The post-battery-swap 'coding' that many euro vehicles need is to instruct the car-side BMS about the battery's characteristics so that it can tune things like its start-stop routine, alternator behavior, etc. to optimize battery life and resilience.
If you put in the same battery it isn't an issue. You need to recode if you change the size or type.