The definition of the three level hierarchy of latria, hyperdulia and dulia goes back to the Second Council of Nicaea in 787