Gibraltar detained the supertanker Grace 1 after a request by the United States to Britain, acting Spanish Foreign Minister Josep Borrell said on Thursday.