On the mechanical behaviour of a crystalline undulator