A pre-hospital team is managing a 40-year-old male with a suspected myocardial infarction. He is given morphine 5 mg IV for pain and metoclopramide 10 mg IV for nausea. He then becomes acutely agitated, develops involuntary facial grimacing, torticollis, and oculogyric crisis. What has occurred?