Section 27. Every innholder, and every lodging house keeper required so to do under section twenty-eight, and every person who shall conduct, control, manage or operate, directly or indirectly, any recreational camp, overnight camp or cabin, motel or manufactured housing community shall keep or cause to be kept, in permanent form, a register in which shall be recorded the true name or name in ordinary use and the residence of every person engaging or occupying a private room averaging less than four hundred square feet floor area, excepting a private dining room not containing a bed or couch, or opening into a room containing a bed or couch, for any period of the day or night in any part of the premises controlled by the licensee, together with a true and accurate record of the room assigned to such person and of the day and hour when such room is assigned. The entry of the names of the person engaging a room and of the occupants of said room shall be made by said person engaging said room or by an occupant thereof, except that when five or more members of a business, fraternal, or social group or other group having a common interest are engaging rooms, they may designate one person to make said entry on their behalf and prior to occupancy. Until the entry of such name and the record of the room has been made, such person shall not be allowed to occupy privately any room upon the licensed premises. Such register shall be retained by the holder of the license for a period of at least one year after the date of the last entry therein, and shall be open to the inspection of the licensing authorities, their agents and the police. Whoever violates any provision of this section shall be punished by a fine of not less than one hundred nor more than five hundred dollars or by imprisonment for not more than three months, or both.