The incident sparked environmental fears as well as concerns it could lead to yet another diplomatic row between London and Madrid, which wants Gibraltar back centuries after it was ceded to Britain in 1713.
The HMS Ambush submarine was submerged and carrying out a training exercise when it collided with an unspecified merchant vessel yesterday afternoon, damaging the front of its conning tower and forcing it to dock for checks in the overseas British territory on Spain's southern tip.
Britain's navy tried to allay fears on Wednesday, saying there were "no safety concerns" as the collision had not damaged HMS Ambush's nuclear plant, adding that initial indications suggested the vessel had not been damaged.
But Antonio Munoz, a spokesman for Spanish environmental group Ecologistas in Action, called for more information on the incident.
More From This Section
"We don't have any form of report to see if there was a radioactive leak," he said.
The incident revived memories of another submarine incident at the turn of the century, when Britain's HMS Tireless was forced to dock in Gibraltar for repairs for nearly a year after a crack was found in a cooling pipe near its nuclear reactor.
Its presence caused outrage in Gibraltar and southern Spain, which people staging regular protests, and strained ties between London and Madrid.
Spain's conservative government, which has been in place since 2011, has been particularly vocal about its desire to see the territory come back into its fold.
In one particularly belligerent row over disputed waters, Spanish authorities upped checks at its land border with Gibraltar in 2013, creating hours-long logjams and forcing the European Commission to wade in and ease the crisis.
And there have been repeated incidents involving fishing or police patrol boats in disputed waters off the coast of Gibraltar.