When its my road bike I've often brought it in if the store doesn't look too busy or crowded. I'd have asked the cop if that was at the store's request since its otherwise none of his business and ignored him if it wasn't their request. If it has flat bars that stick out I don't, too many things, people get caught on the end of them and the flat bar bikes I would ride to the store aren't anything I worry about.