It depends on how you do it. By NFs you have a particular political branch to go down:
You can appoint a minister of the required type as well, who will increase support for his ideology.
There are two examples of countries changing their ideologies in WWW - Finland and Hungary.