Resonance due to a local spin rotator in high-energy accelerators.