I think the dealer will check to see if there are any software updates to be applied to a car when it’s back at the dealership for servicing. If there are any, then presumably these updates will be applied.
I can recall reading of cases where owners of remapped cars have had their serviced by the dealer and a software update has been applied that’s over-written the remap.