I want to avoid a court case over such a small matter.
裁判沙汰 is a broader term for any matter that goes to court, while 訴訟沙汰 specifically emphasizes a lawsuit (civil action).
Compound of 訴訟 (lawsuit) and 沙汰 (matter, affair). The suffix 沙汰 often indicates a troublesome or formal matter.