I'm travelling so will keep this short. A few things potentially wrong with your setup:
1. the elisp src block won't be executed automatically. 2. I do not know if the BIND statements are interpreted when included but I imagine they are. Sometimes it's better to use the base Emacs features (e.g. file local variables) than try to shoehorn everything into org. -- : Eric S Fraga, with org release_9.6.1-224-g8ae8a8 in Emacs 30.0.50