In the event a tax is lawfully imposed under sections 92.325 to 92.340, no gross receipts tax imposed solely on hotels, motels or tourist courts or cafes, cafeterias, lunchrooms or restaurants shall be levied or collected by the city involved so long as the tax imposed under sections 92.325 to 92.340 remains in effect.