Lawyers texted a High Court injunction to protesters occupying an empty office complex owned by a bank, a judge has heard.
The court order was issued in a four-line mobile-phone message - written in standard English without the use of abbreviations - after a suggestion from judge Mrs Justice Proudman, a barrister said.
Protesters had left a contact number with investment bank UBS, which owns the complex in Hackney, east London, after announcing their occupation on November 18.
Details of the text injunction emerged at a High Court hearing in London as demonstrators tried to fend off eviction moves.
Protesters - who moved into the complex in the early hours of November 18 - asked Mr Justice Roth to set aside the injunction and a "possession" order also granted by Mrs Justice Proudman.
Mr Justice Roth adjourned his ruling until later this week, after hearing arguments from protesters and lawyers representing a property firm owned by UBS.