Both correct, of course. I wanted to share a quick story I heard from a seminar I watched online years ago about this very topic. It gave good reason not to speak to police, even if you did absolutely nothing wrong.
The story was- A man was arrested by police, and charged with murder. He was completely innocent, but the cops suspected they had their man. So during questioning at the police station, the suspect mentions something about the victim having been stabbed. Well, they never told him the victim was stabbed, only that he had been murdered. Obviously this was huge to the police...how could he have known that the victim was stabbed, had he not been there when it happened? Of course, they asked him about this. He told them that the cop who drove him to the station had mentioned it. That cop was asked, and said he definitely did not say anything like that. So now it is a guy charged with murder's word against a cop. Thank God for the suspect, the cop's dash camera had picked up their conversation, and proved that the cop did, in fact, tell him about the victim being stabbed. Everything was eventually sorted out, and the innocent suspect was let go.
I like this story, because it shows that even if the cops aren't trying to screw you over, they might do it anyway. That officer may have genuinely forgot that he said that to the suspect...would not have mattered his intent, had there not been a recording of that, it would have certainly been used against the suspect in court.