If the police tell you can't/have to do something. Always ask, "Under what power?" Then ask which section of that law. If there's no law requiring it it's just a polite request from the police which you are completely free to ignore. To often the police make stuff up to get people to comply.