by design , as they were in the waters of the gulf of oman , the omanis ran up to the bridge to formally instruct the captain that the ship was under their control by royal decree and that its present course was to be maintained .