A Mexican woman was given a police caution for "child neglect" after leaving her 16-month-old daughter alone at night in a hotel room in England, a judge has said.
The woman, who is in her early 30s, left the toddler in an Ibis hotel at around 7.30 pm when she went to meet a friend.
Staff heard the little girl, realised that she was alone and called police.
The woman had returned at around 2 30am the following morning with a man, had been arrested and subsequently accepted a caution, said Mr Justice Peter Jackson.
Detail of the incident has emerged in a ruling by the judge on a family court dispute relating to the little girl.
Mr Justice Jackson was told that the woman had become involved in a legal fight with the little girl's English father - her estranged husband - who was also in his early 30s.
He said he had been asked to make decisions on the latest stage of that litigation at a family court hearing in London.
The judge said the woman and the child, now two, had been in England visiting the man at the time of the hotel incident last year.
He did not say where the hotel was.
Mr Justice Jackson said the little girl had been taken into police protection following her mother's arrest - and placed with her father.
A judge had subsequently barred the woman from removing the child from the jurisdiction of England and Wales following an application by the man, Mr Justice Jackson was told.
Mr Justice Jackson said he had become involved after the woman asked to be allowed to take the little girl back to Mexico.
He ruled against her after analysing issues relating to the toddler's "habitual residence".
The judge concluded that the little girl had not been wrongfully retained in England by the father under the terms of an international legal convention.
He was told that the couple had met in Mexico six years ago after the man travelled abroad for work.
The judge said the family could not be identified.