A Met Police officer asked a 15-year-old girl if she had a boyfriend after getting her to meet him in a park when she finished school, a court has heard.