agreed to reduce the accused’s trespassing charge from a misdemeanor to an infraction