Sex offender banned from using AI tools in landmark UK case