A teacher had sex with a 16-year-old pupil in an aeroplane toilet on the way back from a school trip, a court has been told.

Eleanor Wilson, 29, from Gloucestershire in the UK, also told the boy she was pregnant and he was going to be a father, Bristol Crown Court heard, according to the BBC.

Science teacher Miss Wilson, who was then 26, denies sexual activity with a child under 18 while in a position of trust.

The affair allegations were revealed after another male pupil at the school became aware of the relationship and threatened to expose her unless she had sex with him too, prosecutor Virginia Cornwall told the court.

Wilson said the pair had been drinking, which led to a led to "a lack of inhibition" and saw them going to the plane toilet to have sex.

But she denied having sex with the boy.

She told the court there had been a pregnancy but she had had an abortion and denied having sex with the boy.

She called the relationship an "an erosion of boundaries”.

Wilson, who resigned from her job after an investigation by the school, faces four counts of sexual activity with a child under 18 while in a position of trust.