That was your first mistake.
Second, in what logical sense can you definitely say that an 18-year old should not be arrested for getting into an argument with an officer. If I understand correctly, by the letter of the law, you're adult when you hit 18.