Liability for an individual who acts based on the ruling of an errant Court: Shabbat 93a
Liability for an expert judge who errs: Sanhedrin 5a
Liability for a judge who has been accepted by the parties: Sanhedrin 5a
Liability for a regular judge who errs: Sanhedrin 3a, 5a