San Diego — A Border Patrol agent accused of committing sex acts with an intoxicated 17-year-old girl after plying her with cocaine must stand trial on seven counts, including oral copulation of an intoxicated minor and using a minor in the production of child pornography, a judge ruled Thursday.