It just came to me!
When I fit the centre stand, I can rest the front tyre on the ground and see what size wooden shim fits under rear tyre, or vice versa if it settles on the rear.
That should fix the position of the rear axle when the shock is removed.