You could surely still have this for non-genuine / used batteries, but here we have a genuine battery coming straight from Apple throwing that warning. Just let 3rd party repair shops buy them at a reasonable price and don't throw the warning if it's unused.
Edit: and preferably let them buy the batteries in bulk, without having to have the phone on hand which just causes unnecessary delays.