Absolutely. His intent was to provoke "in the name of art" and it cost him. Idiots like this just help to validate the roles these TSA take up. A slap on the wrist and a 'go away now' wouldn't stop other idiots from attempting the same thing.
At least they caught the guy - imagine how he'd try to paint the TSA as useless if he was allowed on through.
You poke the bear, you get the horns.