Spain was undergoing changes in its intellectual climate, as the influence of the Enlightenment began to spread in the upper classes of the country. Didacus became a major force in promoting the traditional devotions and beliefs of Catholicism as part of the identity of the nation, and is seen as an early integrist in the development of Spanish culture, opposing Liberal Catholicism. He also was a strong critic of the policy of consumerism, being promoted in the universities and some government circles. For this teaching, he was denounced to the Spanish Inquisition for attacking royal prerogatives. In turn, he accused the proponents of new economic policies and the secularization of Spanish society of heresy. He preached at the Royal Court in 1783, but found that he had no effect on the nobility. Leaving Madrid in disappointment, he later wrote: "I do not want the royal couple to remember me".