You also have immigration as you arrive in non-schengen and depart from schengen zone.
There is no guarantee your departing flight will use A non-schengen zone, and some chance it will use a remote stand (which means boarding starts and finishes early relative to departure time).