Effects of Enlightenment ideas on governments