Last month Bear Scotland and Transerve Scotland were both awarded the contracts for the north west and south west regions.
But Amey challenged Transport Scotland officials in the court after its bid, including 1p bids for grass cutting and tree felling, was rejected for being too low.
Offcials are understood to have estimated that Amey would have had a shortfall of £123m, according to the company’s own estimate of the income it needs.
Transport Scotland has now lifted the court-imposed suspension to award the two contracts.
This morning Scotland TranServ, a Balfour Beatty Mouchel joint venture, confirmed it had signed a contract worth in excess of £125m to deliver improvements in the south west region, previously held by Amey.
The new five-year contract, which will commence on 1 April 2013 and has extension options of up to five further years, covers an area stretching from Stranraer in Dumfries and Galloway to Alexandria in Strathclyde.
It includes 681 kilometres of roads and 1,912 structures.
Bear Scotland, the Ringway, Babtie Jacobs, Breedon Aggregates joint venture, will become responsible for overseeing 814 miles of trunk roads in the North West.
The two fourth generation (4G) frameworks will support around 1,250 jobs across Scotland over five years.