The transaction will amount to 3 billion euros for the French beauty giant.