The local authority may permit artificial lighting to be used instead of natural lighting in rooms or buildings, taking into account the function of such rooms or buildings.