Mr. Bloomberg says he will ask a judge to take legal action against the union .