Uber won a partial victory when a judge granted it a short operating licence in London after its permit was not renewed over safety concerns, but the taxi-hailing app came under criticism.
The company conceded Transport for London (TfL) was correct in its September decision, but told an appeal hearing at Westminster Magistrates' Court that "wholesale" reforms mean its licence should be restored.
On Tuesday, Chief Magistrate Emma Arbuthnot granted a 15-month licence, but criticised the firm for its past behaviour as aiming to "grow the business, come what may".
She also ordered the Silicon Valley giant to pay TfL's £425,000 legal costs.
The firm had its application for a five-year licence rejected in September, but dropped its request to 15 months during the appeal hearings and agreed to certain conditions.