Kids understand that within that fictional world, magic is okay. Contrary to your opinion, kids DO understand that magic isn't real, and they can't use it in their everyday lives
Not every single kid. You do realize there are people that become involved in witchcraft for real, that they actually call themselves witches and wizards, and cast spells and such.