According to this Material Safety Data Sheet (MSDS) it is toxic and can be absorbed through the skin. The inhalation exposure section says to get to fresh air and monitor exposed people for breathing difficulties.
Overall, I’d say it was stupid to deliberately expose people. Given the smell, they probably didn’t breath it long and wouldn’t suffer any lasting effects.