I just remembered: There’s an Andy Griffith Show episode about this. Officer Barney Fife decides “the law is the law” and he starts to ticket every single driver that speeds before the hill. The Sheriff questions Barney’s wisdom in this, but says “do what you need to do”.
The result: A daily traffic jam up the hill, and on the road leading to the hill… and the entire town of Mayberry hating the police. I think the Sheriff ended up ordering Fife to stop issuing tickets for speeding before the hill.
And i don’t know about other states, but in California, the CHP allows (and prefers) that you speed before hills, and in cases where everyone else is speeding.