British royal marines and officials in Gibraltar have detained a supertanker suspected of carrying crude oil to Syria, in breach of European Union sanctions, the government of Gibraltar said.