Knowing what you are doing is one thing. But not being seen on camera doing those are another. Then throw in seeing police on camera remove the barriers, wave you in, converse with you, and take a selfi with you would make it difficult to not have a reasonable doubt that you were invited and permitted inside.
I am not talking about the people caught on camera doing what you described. I am talking about the FBI, states, & other law enforcement stating that they planned to prosecute EVERY SINGLE PERSON who entered. Like I said from the beginning, I still think the behavior deserves consequences and hope every one of them faces that. I just think it is muddled in court when the police seemed to welcome much of the crowd.