A Butler County judge sued for gender discrimination stemming from alleged sexual harassment by a former probation officer is not entitled to immunity from legal action, a federal appeals court has ruled.