Man sentenced to conditional discharge for trespass plea