A Brazilian judge ruled that a driver using the Uber ride-hailing app is an employee of the San Francisco-based company and is entitled to workers' benefits, adding to the global debate over labor rights for drivers on the platform. Uber said on Tuesday it would appeal the decision by Judge Marcio Toledo Goncalves, who issued the ruling late Monday in a labor court in Minas Gerais state. Goncalves ordered Uber to pay one driver around 30,000 reais ($10,000) in compensation for overtime, night shifts, holidays and expenses such as gasoline, water and candy for passengers. The consequences for Uber, if the ruling is upheld, could be far greater if more drivers follow suit and if state and federal regulators and tax agencies start treating it, as the judge suggested, as a transportation company rather than a tech firm.