(b)all rooms or accommodation in the premises proposed to be used for those purposes. and on such an application being made as mentioned above by the occupier of. or a person proposing to occupy, the premises to which the application relates, the local authority shall, subject to this section and section 19, register the premises for those purposes.