Re: "...elevating the alignment between security professionals and law enforcement."
Counties are not sovereign in the US. States are sovereign. The state court system set this up. It was a test of the state court's security. Therefore, the break-in was to a state court building, not a county or municipal court building.
It may have happened in the sheriff's physical jurisdiction, but he doesn't get to just make up law as he goes along, as much as he may like to. He had no legitimate authority to arrest those guys as soon as he learned that they had permission from the building's managers — the state court system.
The sheriff was probably upset that he wasn't in the loop, so he threw a tantrum that cost everyone a lot of money. But he has a point. He and the local police should have known what was happening. He just expressed his point in an infantile manner. He should be fined, have to pay everyone's legal expenses, be demoted, and feel lucky if he isn't sued for false arrest.