Lets see....person breaks law...has a kid and bingo the kid is given citizenship
How about if I rob a bank....give the money to my kid and i get caught...does my kid get to keep the money?
That would be the outcome only if you are a government official, as they manage to be exempt from all the laws they pass.