Updated

A British man has been ordered by a court to give police 24 hours' advance 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.

The man cannot be named for legal reasons and his address cannot be revealed.

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 any sexual activity.

The man can be sent to prison if he does not provide proper notification.

The order was sought by North Yorkshire Police and issued by York Magistrates' Court.

Police declined to comment on the case Monday.