"It is important that people understand that taking risks abroad can land them on the wrong side of the law.
"The punishments can be very severe, with tougher prison conditions than in the UK. While we will work hard to try and ensure the safety of British nationals abroad, we cannot interfere in another country's legal system.
"We find that many people are shocked to discover that the Foreign and Commonwealth Office cannot get them out of jail.
"Having a British passport does not make you immune to foreign laws and will not get you special treatment in prison."
More top news
Ministers are ready to reduce the waiting time for Universal Credit payments following an outcry from Tory MPs, it has been suggested.
Storm Brian will bring strong or very strong winds across southern and western parts of the UK
The spanish PM said he wants the country's senate to give him direct power to dissolve the Catalan government and call an election.