No, the trick is section control.
Mobile speed cameras don't work due to e.g. Google Maps having speed camera warnings integrated. People slow down when the sat nav warns them and speed up later as well.
Section control is a system where license plates are photographed when a car enters a section and again when it leaves. The time stamps and the known distance are used to calculate an average speed. That means, accelerating and slowing down doesn't help, and it's the only way to force people to drive the speed limit over a longer distance.
Edit: We had fixed speed cameras and mobile ones for at least 50 years where I live. It's funny to see people theorizing about them as if they were some entirely new concept.