Judge in sex offender case warns of 'forceful solution'