Gold is not, and has never been, immune to forgery. Science has made it harder, but still happens all the time. See: gold plating, gold alloys, etc.
You only get a net positive income for producing gold if the price is higher than the cost of production.