It's the law because it used to be normal for formula companies to market themselves as "better" for baby than breast milk (coz it's scientificly designed, innit) to the point that parents were being conned and breast feeeding, despite all the evidence to the contrary was seen as "lesser". The companies were asked to stop, they didn't. Governments across the EU tried to counteract the formula companies advertising etc. By funding national campaigns for education about breast being best, the formula companies just spent even more on advertising.
There's nothing wrong with FF if that's what you choose, or for some reason that's what your baby has to have HOWEVER these laws were brought about because formula companies repeatedly flouted evidence and played on people's fears about doing the best for their child.