She did commit a crime by travelling to Russia with an illegal substance, for which she got roughly the same sentence as a typical Russian would get if caught with a similar amount of drugs. This case doesn't seem to be out of the ordinary, except for the "criminal" being a famous foreigner.
“Young tourist is now facing death by firing squad in Bali after cocaine was found in her luggage: Here are the Indonesian rules everyone needs to know”
This is a headline from this year.
It turns out that when you break the law in other countries, you might get punished for it.
Anyone who believes themselves exempt from the laws of a country they travel to because of a little booklet they carry isn't just unaware, they are foolish, and dangerously so because they not only endanger themselves, but everyone else they convince to adopt this attitude. Better they receive the scorn they deserve now than for them or anybody else to face the same consequences Griner or Warmbier faced.