Hundreds of thousands of people were gathered in Mexico City 's central square throughout the day to protest the action , a rare proceeding known in Mexico as a '' desafuero , '' in which Mayor Andres Manuel Lopez Obrador was stripped of his official immunity so he could stand trial in a minor land dispute .