A man has been banned from having sex – unless he gives police 24 hours’ notice.
The man, who cannot be named for legal reasons, must also tell officers the name of the woman he intends to engage in sexual activity with before he is allowed to go ahead.
The conditions have been imposed on the man, from York, by way of an interim sexual risk order which was requested by North Yorkshire Police, lasting up until May 19.
After this date, York magistrates can decide whether or not to make a full order under the same restrictions and if so, for how long.
Should the man be given a full order, he will be under the same restrictions for a minimum of two years, while breaching the rules could lead to a custodial sentence of up to five years.
Under the order, the man must also tell the police about every phone and device that he has that he could use for accessing the internet or contacting other people.
The ban, which is a civil order, means that should the man want to start a sexual relationship of any kind with a woman, even if it is a one-off sexual encounter, he must say who the woman is.
Should the man wish to have sex outside of North Yorkshire, he is required to tell the relevant police force the same information.
The orders are frequently used police believe the public maybe at risk from a person who has not been convicted of a sexual offence.