A shipment of cocaine worth €157m seized from the MV Matthew was controlled from Dubai, the Special Criminal Court has heard.