Events like this that choose a random province will not just choose from provinces that the command can affect but apparently from all your provinces (at least when fired from the console). So if you have 10% of your provinces that are non-state-religion you may need to fire the event many times before it actually changes a province.