Spatialite is just asking for unwanted issues. (In this case it's magically decided that the layers should all be readonly.)