This is basic thermodynamics, not greenhouse gases. If you put some amount of energy into a system with a fixed surface area, you
will get a minimum equilibrium temperature.
Greenhouse gases and Earth’s internal nuclear decay engine make the situation worse, but even without them this would boil the oceans.