A convicted child rapist barred from being alone with girls aged between 10 and 16 can live in the home where his toddler daughter will grow up, a family court judge has ruled.
Judge Karen Venables has concluded that the little girl - who is aged about two - should be brought up by the man's parents.
And she has approved a plan drawn up by social services bosses which will allow the man, who is in his mid-20s, to "remain within the household" providing that he is "loosely supervised".
Detail of the case has emerged in a ruling by the judge following a family court hearing in Milton Keynes, Buckinghamshire.
No-one involved was identified.
Judge Venables said the man and the little girl's mother had separated.
The toddler had been living with her mother but had been taken into care by social services staff at Buckinghamshire County Council last year after her mother was accused of neglect.
Social services bosses had subsequently asked the judge to make decisions about the little girl's future.
The judge concluded that the youngster could not return to her mother's care.
And she has approved a council plan under which the man's parents will become the little girl's guardians.
Judge Venables said the little girl would live with her paternal grandparents.
The judge said Buckinghamshire council was "content" for the girl's father to live at his parents' home with her.