Optimal claim behaviour for third-party liability insurances with perfect information