Actually, I said nothing about neding a three-way switch.
An arrangement such as I saw overseas would be acceptable here.
I saw an arrangement where every landing had a simple push-button. Push the button, and you had light for a very limited time, on that level only. Typically, there was just enough time to walk to the next push-button, on the next level, before you were returned to darkness.
Such an arrangement would, as I read the code, be acceptable here.