>A town guard arrives, pushing an uncooperative criminal towards the Pillory, obviously destined for the stocks. The criminal squirms and wiggles, trying to escape, but the guard shoves her catch squarely onto one of the devices, fits his legs in before he can react, and non-chalantly moves on to other duties.
So, in the last line, the sex swaps from female (shoves her) to male (his legs, he can).
Just what parts exactly are getting pilloried?