Who has control of the strait of Gibraltar?

The Strait of Gibraltar is in international waters but in a war situation, it would be controlled by British military personnel.