A boy of 12 faced a telling off from police and his off-road bike seized after he was seen riding without a helmet.