So if they hit ten million do they start kicking people out for every native baby born?
No, they just stop accepting immigrants.
Switzerland's fertility rate has been below the replacement rate of 2.1 babies / woman since the 1970s. There is zero chance of births pushing it above the 10M count. If anything, immigration is the sole reason the Swiss aren't going extinct.