Can’t help with Mexico, but I went to South Africa with a colleague who did not have two consecutive blank pages in his passport (which is their requirement). He was denied entry and sent back to the UK. These requirements, as nonsensical as they may seem, can be quite strict. Maybe try to find a Mexico-specific travel forum to get a better answer?