Court rules on aggravated trespass in climate protest case