A British man has been ordered by a court to give police 24 hours' notice if he plans to have sex with a female.
The unusual "interim sexual risk order" will be in effect until a further hearing is held in four months. A longer restriction may be sought at that point.
Sexual risk orders are used in cases where a person has not been convicted of a sex crime but is judged by police as posing a potential threat to the public.
The order was sought by North Yorkshire Police and issued by York Magistrates' Court. It replaces an earlier order limiting the man's sexual activity that was about to expire.
He must give police the name, age and address of any female he plans to have sex with at least 24 hours before engaging in such activity.
The man can be sent to prison if he does not provide proper notification or if he violates other terms.
He is also prohibited from using the Internet unless he uses a device equipped with police-managed software that is to protect against online offending.
The only exception to this rule gives him permission to access the Internet while seeking work at government-run employment offices.
The man cannot be named for legal reasons and his address cannot be revealed. Police declined to comment on the case Monday.