Spain's prime minister Mariano Rajoy calls for 'common sense' over Gibraltar