which legal system uses guilty until proven innocent?
Ignorance of this law will not get you leniency from the police. You will be arrested and sent to jail. Also, the Mexican judicial system is governed by Napoleonic Law which states that you are presumed guilty and must prove your innocence, the opposite of the U.S. laws. The American consulate in Tijuana, Mexico also posts a similar warning on their official website (emphasis theirs):