You cannot be attacked when at war while under BP...unless a bug happens.