Let me share a story. it happened to back in 2007. I was moving with my family from Karachi to Hyderabad. At Hyderabad we were intercepted by Police and he really checked my car like a sniffing dog. not in terms of good but in terms of my chasis number, engine number and i could see big cars going away unnoticed, I was in my Cuore. Well he asked for this same Highway code book , i said i dont even know whats that. he explained me that in "Police wala" way and then said there will be a challan(ticket) for this. Well , we were actaully moving , with another mazda ful of furniture on the route so i was in no way of wastign my time there. i said how much, he said 100 and i dropped him the cash and went away. when i crossed the toll, i saw High Policy vehicle and i parked that in front of him as i was really pissed. I asked him whats that all about highcode book, he its a book with ticket details and some rules and he gave me one. I asked if i dont ahve it, would you give me a ticket , he said, No. i told him the story. well he said go back and get your money back from him, tell him i say so. well, i went back and i got my money back.
Moral of Story , "Awareness". Always ask them for a ticket, if the law does not exist , he cant issue you a ticket. Police wala can be bad guy most of the times so play safe.