Striking bricklayers at the JJ Rhatigan site in Kishoge, west Dublin are to continue their picket, after the High Court ruled that they were entitled to maintain their protest.
However, they have agreed to limit the number of picketers, and to ensure that all future picketing will be lawful.
The strike centres on allegations of low pay and irregular subcontracting which have been denied by JJ Rhatigan.
The company had taken legal proceedings in a bid to halt the pickets, which have brought the site of a Department of Education-funded school building to a standstill.
It had accused the strikers of engaging in intimidation, trespass and racial abuse.
Mr Justice Paul Gilligan awarded costs to JJ Rhatigan, but put a stay on the order pending the final resolution of the case.
JJ Rhatigan had sought court orders against Unite, Patrick Molloy, Stephen Gleeson and their company Gleeson & Molloy Bricklaying Services, which had been subcontracted by Rhatigan to lay bricks for the new community school; several other members of the union and anyone with knowledge of the court orders.
The judge permitted Unite to picket three JJ Rhatigan sites: Kishogue, St Pats in Drumcondra, and Griffeen Valley.
However, the numbers participating in the Kishoge protest will be limited to six.
Only eight can picket the Rhatigan site at St Patrick's College Drumcondra and four at the Griffeen Valley site in Lucan.
The union also understood not to picket the Radisson Blu Hotel at Golden Lane, which is owned by Rhatigan.
The judge said the case "raised important issues of law and fact" which needed to be determined at a full hearing if the parties could not reach agreement between themselves.
He urged the two sides to consider returning to mediation.
Counsel for the company Tom Mallon SC argued that there is no bona fide trade dispute as the company is not the direct employee of the strikers, though the court heard that they had asked to be made direct employees.
However, counsel for Unite Oisin Quinn SC argued that a trade dispute does exist with Rhatigan because of concerns about the increasing use of sub-contractors to replace traditional direct labour.
He said this practice had left workers without pay, insurance cover and statutory health and safety protections, counsel said.
Earlier, two of the strikers who had spent three nights occupying the cab of a 200 foot crane on the site agreed to come down, and were taken away by gardaí.
Meanwhile, JJ Rhatigan has told RTÉ News that the company has so far paid out "well in excess of €100,000" for blocklaying services on the Kishogue school site.
In response to a series of queries from RTÉ, the company said that the striking bricklayers had never been employed by them.
It says that of the total of 80 people working on the Kishoge site, 22 are direct employees and that all others are bona fide sub-contractors.
It insists that adequate monies were paid to the original blocklaying sub-contractor and to any other sub-contractor, to ensure that they could pay their employees more than the statutory amount.
The company says that this has been independently audited by the Department of Education.
JJ Rhatigan also denies that it requested two of the bricklayers to set up a sub-contracting company.
They say the bricklayers had come to them with that proposal.
They say that that sub-contracting company, Gleeson and Molloy Bricklaying Services, were paid €24,540.90.
They also insist that in that sub-contract, Gleeson and Molloy were to provide their own insurance, and safety statements - a position disputed by the strikers.
The company also insists that it only sought a replacement for Gleeson and Molloy after they abandoned the works.
The replacement bricklaying sub-contracts are now in place.
It also said that quality issues regarding bricklaying by a small number of men were an issue for their employer, Gleeson and Molloy.