have you tried enter preview mode, then set zoom level and then pause?
You say "This is not the behaviour expected". This may not be the behaviour you expect, but it is the behaviour you get if you do the steps you describe manually, and therefore it is what you will get if you do them in a script. Zoom level is mode specific.
Peter's advice will overcome this—enter Preview mode first, then zoom.
Thank you, that works.