If they are going to hassle you anyway, just refuse to answer any of their questions. You do have the right to remain silent. They may detain you but will have to let you go eventually. Don't give them the satisfaction of knowing they intimidated you.