Actually the arrest is completely up to the discretion of the police officer. When he gets out of his car, he can issue a verbal/written warning, give you a fine, arrest you, or do whatever he feel the situation warrants. He is an officer of the law, employed by the state to protect and serve.