You can't close a public building if there are public proceeding going on inside. Not in a free country ruled by the consent of the governed.
Even if there is a public health pandemic. Sure, you can limit the number of people that can enter at one time, that's fair and reasonable, but you can't just close the building to the public while things that effect public law are going on inside.
Otherwise we are promoting secret proceedings.
This man had every right to enter his capitol while public proceedings were taking place inside, even tho he was told he could not, he had the right to peaceably protest the closure of his capitol to the public while such proceedings that effect public law were taking place inside.
There seemed to be no evidence that he did anything unlawful to get inside nor once he got there, and he had every right to be there.
Had a limited amount of the public been allowed into the Capitol at a time, even if they intended to use there voice to be disruptive of the proceedings( more peaceful protest and petitioning their government for regress of grievance ), that would be another matter, but they were not allowing any member of the general public into the Capitol while a great matter of public interests was being decided inside.
Was this mans grievances justified?
I don't think so, but that's not a the point, the point is he was within his rights, and if you are going to stand up for people's rights, you can't just stand up for them when you agree with what they have to say, you must stand up for people's rights when you disagree with them.
This judge made the right ruling.