After a bit of investigation I was able to fix my Fall of France crash by commenting line 404 of ScriptEuro1940.lua
-- city::SetNumRealBuilding(COURTHOUSE, 1)
I also tried
if city::CanConstruct(COURTHOUSE, 0, 1) then
city::SetNumRealBuilding(COURTHOUSE, 1)
end
but that...