The ruling comes after there has been an increased focus on the effects of unrealistic advertising in the last decade.