An Italian academic and dog owner has won the right to sick pay, after she took time off work to care for her poorly pet.