ok it worked for Anneke but not for Sylgja. Is the 19809 number different for Sylgja?
Are there any disadvantages to force marrying someone over normal marriage? Can you marry more than one person? Can you remarry after she has died? Can you change your wife's clothes?
Sylgja is marriageable anyway, so you don't need to enter any codes. You just have to talk to her and do her quest and then you should be able to marry her. The code doesn't work because she is already a member of the faction you are trying to add her to.
Forced marriage usually works just like normal marriage. Sometimes it can have weird side effects, though, so it's always a good idea to keep a save from before you did that.
You cannot remarry after your current spouse dies without other console commands, which I don't know yet, since I always leave my spouse at home anyway. There are probably ways to get them to change clothes, but I've never bothered with that.