As football fans head to Seville for the Europa League Final next week, tourists have been warned they could face fines as big as £85,000 if they attend illegal parties.
Travellers are being asked not to accept invitations to the illegal raves in Ibiza and Majorca.
The large fines are being issued in Spain to those who are caught at the events.
The British embassy also issued a warning against such events due to serious accidents they have caused in the past.
As reported by Glasgow Live, a spokesperson stated: "There have been a number of serious accidents involving people attending irregular commercially promoted parties in villas and private homes on the islands of Ibiza and Majorca.
"Licensed clubs and bars are required to meet safety and security standards, including emergency exits and capacity limits, and to have trained, licensed security staff. Irregular commercial parties may not meet these standards."
They continued: "You should take care of your belongings, ensure you know where emergency exits are located and not take unnecessary risks. Heavy fines may be imposed by local authorities to anyone attending irregular commercial parties."
The Balearic councillor for the Presidency, Mercedes Garrido, and the president of the Council of Ibiza, Vicent Mari, proposed the new rules, which aim to put a stop to the illegal parties — the number of which has risen "exponentially" over the past two years as a result of the pandemic.
Among the main new features, landlords who rent out properties where these parties are held will also be fined between 100,000 and 300,000 euros, as they will be held responsible for them.
Another new factor is that the fines will reach the attendees, who will be fined between 300 and 30,000 euros depending on the seriousness of their infringement.
Next week, rangers will play against Eintracht Frankfurt at the Ramon Sanchez-Pizjuan stadium in Seville, in the UEFA Europa League Final.
Rangers fans have already been warned not to travel to Seville without a match ticket, as ticketless fans could pose a security threat, according to the UEFA.
Don't miss the latest news from around Scotland and beyond - Sign up to our daily newsletter here.