Officials in Lima want to make sure sex offenders have no contact with children out trick-or-treating.

During the two hours Saturday afternoon when kids will be out collecting candy, people convicted of sex crimes will be rounded up and kept under supervision.

Project director Jim Wingate with the Allen County Sex Offender Risk Reduction Court said children going to strangers' houses might be vulnerable. He said sex offenders who don't show up will be jailed.

Bill Kluge, a Lima defense attorney called the plan "ludicrous," noting that the sex offenders wear ankle monitors, so authorities already know where they are.

Approximately 40 sex offenders will be affected by the trick-or-treating roundup, according to the Lima News.

Click here to visit FOXNews.com's Crime center.