Unless you buy the part from apple, there is no way to prevent the message, so yes, you will have the 'battery not genuine message'.
open