Shocker.

(NYDN) — When the cops raided Zuccotti Park, lawyers for Occupy Wall Street immediately woke up a judge with a civil liberties background and asked for help.

Manhattan Supreme Court Justice Lucy Billings signed an early-morning order temporarily barring cops from keeping protesters and tents out of Zuccotti Park.

But within hours, she was off the case as court administrators prepared to randomly choose a new judge — and excluded Billings’ name from the list of candidates.

Billings’ biography notes that before she became a judge in 1997, she spent 25 years as a lawyer for the American Civil Liberties Union.

Lawyers for Occupy Wall Street phoned Billings after cops moved into Zuccotti Park early Tuesday, evicted the protesters and got rid of their tents and other camp equipment.

Asked why they called her first, protest lawyer Daniel Alterman wouldn’t say, remarking that he’s not a “gossip guy.”