Magic comes in many forms. The kind that's portrayed by slight of hand. The kind played out with special effects in movies.
Then there was the real kind. The kind the elves and pixies used, made of energy and blue sparks.
And then there was the kind that fizzled through his body when Holly kissed him.
Yes. Artemis Fowl the Second knew what magic was.