Stable Services said its entire share capital and that of its 100%-owned Norwegian operation had been brought out by Coffey's investment vehicle, Stable Holdings, which was created to undertake the transaction.
The deal was supported by the Royal Bank of Scotland, the company said.
Stable Holdings was also in "advanced negotiations" to buy another Aberdeen company. Stable Services said in its statement.