"These principles flow naturally from the court’s interest in vigorously defending the integrity of the legal process and ...