I did have to submit my passport to the consulate via VFS, but processing altogether took so long that I got my decision a few days before the flight and passport the morning of the day of the flight. It was stressful! My stop was 40 min long, like yours, and I flew back directly to London so...