If what he did was real and not videoed in front of a green-screen image of Freedom Plaza, then he knowingly broke the law. While I have concerns over the intensity of how the search warrant was executed, Kokesh and his roommate surely knew that there would be ramifications for his illegal act.
By breaking this law he has enabled Park and Herndon Police to demonstrate how law-breakers will be handled -- with massive, military-style force. An unfortunate object lesson for those who are trying to change the laws through legislation and by supporting pro-2nd Amendment representatives.
Kokesh has done nothing to advance the cause. Rather, IMHO, he has set the effort back.