Except that the original (classical) pronounciation is
not a (pharyngealized voiced alveolar stop), but a (pharyngealized voiced lateral fricative), which sounds very close to (ظ), and explains why many Arabs merged the two sounds together. The alveolar stop is a new letter, and seems to have come out of Egypt because they had a hard time pronouncing the original latter. See this video about how to correctly pronounce it:
https://youtu.be/U0qr9XxJges?t=99