Westminster, London magistrates court has ruled in favour of Uber almost a year after Transport for London (TfL) refused the ride hailing firm a licence extension over safety concerns.

The deputy chief magistrate, Tan Ikram, said he had “sufficient confidence that Uber London Ltd [ULL] no longer poses a risk to public safety … despite historical failings”, after hearing three days of arguments this month, the Guardian reported.

He said Uber had tightened up review processes to tackle document and insurance fraud and it now “seems to be at the forefront of tackling an industry-wide challenge”.

The report noted one of TfL’s key safety concerns when refusing the licence last November was that up to 14,000 Uber trips had been served by non-licensed drivers fraudulently logging on to the app using other people’s IDs.

The judge noted that TfL had since uncovered further areas of concern, including delays by Uber in removing three drivers who committed sexual assaults against passengers.

However, Ikram said: “ULL does not have a perfect record but it has been an improving picture … I am satisfied that they are doing what a reasonable business in their sector could be expected to do, perhaps even more.”

The new 18-month licence will come with 21 conditions, proposed jointly by TfL and Uber, which Uber argues should be a baseline for all similar services in London.

The Guardian noted the firm argued that it had changed fundamentally in the three years since TfL first refused it a licence, in September 2017, when the transport company deemed it not “fit or proper” to operate in the capital. On that occasion Uber won a provisional extension on appeal but it was again refused a licence last November over the identity concerns.

Uber had been allowed to continue to run services in London pending the appeal and said it had worked hard to address the concerns, including introducing further “real-time” ID checks for drivers, allowing them to be verified during bookings.

Steve McNamara, the general secretary of the Licensed Taxi Drivers’ Association, which represents black cab drivers, called the decision “a disaster for London”.

He told the Guardian: “Uber has demonstrated time and time again that it simply can’t be trusted to put the safety of Londoners, its drivers and other road users above profit. Sadly, it seems that Uber is too big to regulate effectively but too big to fail.”