I've heard some Spanish traffic lights are quite "smart" for traffic control (these are mainly on highways rather than junctions/pedestrian crossings) where if you travel at or below the speed limit, the lights are green, speed and they go red thereby giving a positive association for not speeding (ie if you don't speed, you and everyone else travelling the same stretch probably get there faster - make everyone stop as you're speeding and most likely people won't be happy)