If your license plate was unable to be read, and the law in your state requires the plate to be clear and able to be read, than the stp was most likely valid. The officer is then free to act on the observations he might make when he makes contact with the driver. In other words, when he approached the driver and smelled the odor of alcohol emanating from his person, he was free to detain the driver for further investigation.

