Start a client of a specific size, for example with
Xephyr -screen 1024x786 :1
and put in into a frame of smaller size. When switching away from and back to the corresponding workspace, the frame will have been resized to at least the size of the client, thereby messing up the layout.