"The team found that planets 10 times the mass of the Earth, with an atmosphere 100 to 1000 times thicker than Earth’s, may be the most favorable for storing life for billions of years. But to do this, they must orbit the star at a distance that the orbit of Mars occupies in the Solar System. At such a potentially safe distance, the original atmospheres can act as greenhouse gases, absorbing infrared radiation, providing the necessary heat and pressure that can support life in oceans of liquid water."
So the planet is not ejected from the system, just pushed out so that instead of an orbit of days it is as far away as Mars is to our sun (1.5 AU). Gell-Mann Amnesia comes into play here.
[1] https://universemagazine.com/en/life-on-super-earths-can-exi...