I have made some interesting tests and came up with these results.
An entity has this solid flag SOLID_SLIDEBOX (shootable and touchable)
After I changed it to SOLID_BBOX the result is this: The entity is still touchable but can not be shot.
My question is how to make it shootable/unshootable.
From this test it is clear that it does not depend totally on the SOLID flag.