There are SO many reasons why Casablanca should just have been a studio film that went through multiple directors with a bunch of unplanned casting decisions forced by existing contracts.
But, of course, it didn't end up that way.