There used to be an even more drastic law proscribing certain sizes and disallowing all others. Flour would only be available in 500g and 1kg bags, for example. They got rid of it, possibly because they got sick of people making fun of EU regulations (that's what happened with the famous banana ratings)