If I am already driving at the speed limit, it isn’t legal to “speed up” on the flat before a hill. The car has an accelerator and gearing, when I start to climb I step on the gas and the transmission senses the load and downshifts. None to break the law.