i doubt a cop will pull you over and defect you because you have 17" wheels, 17" mags are the most popular mag wheel selection size...
Screw what the guy says, buy what wheel you like, being 17x7, 17x7.5, 18x8, whatever...As soon as he see's cash he'll be quiet.
keep in mind, some insurance companie's follow that rule (it's for width though), so you are allowed to go 1" wider than stock...
In case of T's and exec's, you can get wheels 7" wide, if you own a trx, max 7.5"