If you are not trying to evade the police then you will be fine. If you were attempting to get to the sanctity of your home to avoid the police then you are in conflict with the law.