City considers legal action against Madrid candidate