Judge orders protesters to stay in jail