You would think that being unable to attack a player would also mean being unable to attack a player's pet...
And if you CAN attack the pet, does that mean the pet can attack you, as well?
Maybe I'm over thinking it, but blocking them and setting up arrays to block teleports and the like could still be an option. (Assuming that such arrays work on allies and foes alike)