The setting just stops you from attacking someone accidentally. You can still attack them if you want.
Although nobody is going to attack you in high sec because they will get blown up by the space police in seconds. The exception is when you carry valuable stuff in a weak ship.