While I'm not taking anyone's side on this issue, consider that many times a "trap" is set up because of complaints by residents in the area, due to repeated violations of a posted speed limit, stop sign, or otherwise.
I live in a neighborhood next to a busy street. Unfortunately, some residents and non-residents alike seem to feel like it's okay to go blazing down a subdivision street to whatever appointed destination they are off to, with total disregard that at those speeds, they are ill-prepared to respond quickly enough to a small child darting after an errant ball, joggers, bicycles, pets, etc.
We are pretty far down the waiting list for speed bump installation, so I complained to the local police department for help. One of the first changes was to take the 30 mph speed limit sign down (30 mph in a subdivision?!!!), and reposted it to 20 mph. Then a motorcycle cop was posted there to monitor traffic. For the first week or so he just handed out warnings, and followed that with speeding tickets.
Needless to say, many folks were irritated, and felt they were unjustly punished, but they DID slow down.
Again, this is not an accusation in any way, and if the ticket was unfair, then definitely fight it in court. Just understand that not ALL speed traps are placed where they are to generate revenue...consider that maybe someone had been fatally injured on the same corner by a motorist who perhaps, did "blow through" the same stop sign...