A family arranging a funeral were told by the undertaker that health and safety regulations prevent the wearing of shoes in a coffin by the deceased.