Can painted carb mounting surface cause a vacuum leak?

It shouldn't be painted but it shouldn't cause a leak. The gasket does the sealing.