Spanish authorities have declared an emergency across the popular holiday hotspot after a record-breaking weekend surge sparked fears of a major crisis.