Judge says it was OK to fight the cop