A judge says the case of two people arrested at the North Carolina Legislative Building during a protest will continue.

Superior Court Judge Carl Fox rejected arguments that the building rules were illegal.

Fox ruled in Wake County court that lawmakers could delegate authority over where visitors can go in the building and how much noise they can make to a special panel called the Legislative Services Commission.

The News & Observer of Raleigh reports Fox’s decision Monday means there will be a full trial for Carol Anderson and Dale Herman of Durham on whether a District Court ruling finding them guilty of misdemeanor trespass charges will stand.

Their May 2016 arrests by General Assembly police stem from protests over North Carolina’s “bathroom bill,” now partially repealed.