High Court ruling on A5 road upgrade