Judge: Vito Lopez must pay for harassment allegations