(2)Any court trying any such offence shall in addition direct that the person keeping the place of public entertainment, or the eating house, in respect of which the offence has been committed shall close such place, or eating house until he obtains a licence or fresh licence, or a certificate of registration or fresh certificate of registration, as the case may be, in respect thereof and thereupon such person shall forthwith comply with such direction.