Quantum versus classical nature of the low-temperature magnetic phase transition in TbAl3(BO3