Actually, it's not. It's nearly impossible to non-destructively distinguish gold from tungsten wrapped in gold.
You can also test shear forces on the bar, a test you can perform easily at the bank itself (or any of the other material forces tests really). Those do usually require a bit of machinery.
Lastly, you can measure electric resistance. A gold bar will have a different resistance than a tungsten bar, especially if you compare a frequency sweep AC resistance vs DC resistance (if there is a difference, which should be about 20nOhm/m vs 50nOhm/m for Gold/Tungsten, you know the material has a core that is different from the outside).
Electric current mostly travels on the surface of a material. Gold-plated tungsten might not have sufficiently different resistance from pure gold, if the plating is thick enough.
The higher the frequency the less you penetrate the material (self-induction in the material forces the electrons outwards).
This enables you to effectively do a sweep of material composition by increasing frequency and measuring the resistance. In theory you could even tell if the core was not conductive at all (due to the resistance not changing despite lower frequency).
So even if the plating was thick, you would be able to tell because the resistance curve begins to change at lower frequencies due to Tungsten having a higher resistance.
If your device is really accurate you could even measure the rough area of the core since skin effect is proportional to the square of the resistivity.
Considering how expensive gold is per ounce, it's not like any of us will be buying it by the bar.
Executive Order 6102.
If you're in a country where you can't trust the government, you lost. The government can take away your gold, your government can take away your bitcoins.
If "the government has become the enemy" is a problem, then you've got bigger problems at hand.
The next best is to use a trusted dealer and buy the mint products that have verifiable serial numbers. For example:
https://www.apmex.com/product/98353/1-oz-gold-bar-royal-cana...
Canadian Mint 1oz bar, at a small mark-up over the price of gold. Comes sealed and has a serial number.
Created by the US Mint, you have strong assurances that you are recieving in fact, 91.67% gold / 22 karat (an alloy, because pure gold is too soft for the typical consumer).
If you do want 99.99% Gold / 24 karat, the US Mint also makes the Buffalo coin. But that's usually harder to store.
American Eagle coins are super easy to obtain and trade. Just go to any gold shop and ask for an American Eagle gold coin.
1 oz American Eagle coin direct from the mint? $1,490 [2]
That's a 23% "transaction fee". You'll get much much lower buying gold (or bitcoin) from somebody else.
[1] http://www.kitco.com/charts/livegold.html
[2] https://catalog.usmint.gov/american-eagle-2018-one-ounce-gol...
You buy them at only a bit higher than spot price from 3rd party distributors. For example: https://www.apmex.com/product/1/1-oz-gold-american-eagle-bu-...
American Eagle coins have a slight premium, due to their guarentee by the USA Mint itself. If you don't care about serial numbers and want to just have bullion, you can buy other gold coins. But American Eagles are great because they are enforced by the powers of the US Government itself. So you get a bit of security (and therefore, the price of the coin is slightly higher compared to gold).
But not much higher. Really, it isn't. Checkout 3rd party sites like apmex or your local gold shop if you don't believe me.
They also make a non-collector version and sell them to bullion dealers, who then mark them up modestly for retail. To get access to them direct, you're probably buying hundreds of coins at a time.
With BTC, you have to find a trusted exchange and a trusted wallet. The average consumer doesn't really know anything beyond a google search and the first two results.