Uber Technologies Inc. scored a rare legal victory in Europe on Friday as a London High Court ruled that the ride-sharing company’s app wasn’t a device for calculating fares and was thus not breaking the law.

Uber, which currently has 18,000 registered drivers in London, said it wasn’t surprised by the ruling.

“This is great news for Londoners and a victory for common sense,” said Uber’s head of communications for the U.K., Harry Porter.

Under a 1998 law, only the U.K.’s iconic black cabs are allowed to use meters. Private-hire vehicles are granted a different license, and aren’t allowed to calculate fares based on a calculation of distance and time. Uber’s main services in London use drivers with private-hire licenses, different from the ones held by black-cab drivers.

The Licensed Taxi Drivers Association, the main body representing drivers and the group that argued that Uber’s app was a taximeter, said it would appeal the verdict with the Supreme Court.