Removing posts that violate others' intellectual property rights?

Does the person who has allegedly committed the offence get an opportunity to defend him/herself before action is taken?

Certainly, though any relevant material may be removed temporarily, pending investigation, and vexatious complainants will be thumped, vigorously.