To achieve those heights, Milford Centre had acknowledged that high-quality design was essential, the decision said.
The court rejected the scheme to develop up to 17 storeys, equivalent to 60m but also turned down the council's call for a 35m tower of around 10 levels, coming in with a widely expected compromise.
"Overall....we conclude that a height of 60m has just too much impact on amenity and accordingly the court is reluctant to move too far away from the height of the council of 35m. After considerably discussion, the maximum that can be agreed between the members of the court is RL45m, the same elevation as that accepted for block five. The resultant building would thus be 42m in height," the decision said.
Residents in the surrounding areas had strongly opposed the blocks, saying they were inappropriate for the area.