You're missing the point. It depends on the laws of the particular state.
I am not missing the point. Unless the state passes a law that prohibits police officers from enforcing laws anywhere other than their own town, the officer gets to enforce state laws. I am surprised that no other state has used this argument in its own appellate court.