It wouldn't prevent them (or a 3rd party merchant) from reimporting and reselling more cheaply. Perhaps the subsidized pharmaceuticals should only be sold to patients ("end users") in the target country, but that's again a trade barrier, only not between countries.