He has 'tendency to approach and assault' children, court hears.