Two ships were involved in a minor collision in the early hours of Tuesday morning in British waters in the Bay of Gibraltar.