Mexico did not issue any gold coins during 1865. Maximiliano had just taken over as emperor and he issued centavos and pesos in silver, but nothing in gold. Your coin, instead, is a 'fantasy piece' sold as a novelty or wedding coin in gift shops and tourist destinations. You can see gold coins of Mexico, as well as your fantasy piece, on the Worldwide-Numismatics.comweb site.