OK, by test I've established to my satisfaction that
YodaMaster is right; the fewer the potential targets the more likely you are to get the
CommandList A is currently Invalid error when event 94003 is triggered from the cheat console.
What's more the odds appear fairly good. I used the same test as you, AoM as FRA, and as you say they have 29 provinces/colonies of which 7 are not the state religion. In three test runs it took 16, 34 and 10(!) triggerings of the 94003 event to get all 7 converted.
So if the command is meant to choose only from non-state religion provinces, then we certainly have a bug. If not, then it's pretty much working as designed.
After some searchng I found a post by the excellent
Daywalker on this error:
What you are seeing is the misfortune working of the in-game test system, the F12 system. The game and the F12 system does not speak the same language in every department.
The F12 system has these cryptic messages “CommandList A blab blab” (and B, C, D).
What it means is that at the time of firing, via F12, the F12 system has encountered a currently invalid command. All it needs to display this message is one invalid command. There might be 30 or 100 perfect legal commands in an action, but all it needs is one of them to currently be invalid and it will refuse to fire the event – and display this message.
But… there is always a but…
The game itself has the ability to deduct invalid commands, so when the event actually fires in the game, it will itself skip the invalid command(s) and it will work, despite what F12 says.
So when the Conversion command happens to choose a province that's already the state religion, it generates the CommandList error if in the cheat console (as converting a province to the state religion when it already is, is apparently considered an invalid command) and just fails to convert anything if triggered by a normal event. But if an event contains several Conversion commands, ALL will fail if triggered in the cheat console after ONE picks an invalid province. In proper game-triggered event the odds are better as an invalid choice of province will not invalidate subsequent Conversion commands.
I'll see if I can get a statement on the intent of the command.
Does anyone have any knowledge of other random-province commands? Do they only choose from a list of valid candidates, or from any province owned by the relevant nation? Others that might be affected are Heretic, Provincereligion, Provinceculture, Losemanufactory, Losebuilding, and Desertion.