No licenses shall hereafter be granted by the Pennsylvania Liquor Control Board for the retail sale of malt or brewed beverages, or the retail sale of liquor and malt or brewed beverages, in excess of one of such licenses, of any class, for each one thousand inhabitants or fraction thereof, in any municipality, exclusive of licenses granted to hotels, as defined in this act, and clubs; but at least one such license may be granted in each municipality, except in municipalities where the electors have voted against the granting of any retail licenses. Nothing contained in this section shall be construed as denying the right to the Pennsylvania Liquor Control Board to renew or to transfer existing retail licenses of any class, notwithstanding that the number of such licensed places in a municipality shall exceed the limitation hereinbefore prescribed; but where such number exceeds the limitation prescribed by this act, no new license, except for hotels as defined in this act, shall be granted so long as said limitation is exceeded.
47 P.S. § 744-1002