Seems like the solution is going to have to be to ask for a final doc-check at the boarding gate then and fill the form in the airport. Either that or see if you can get checked in only part of the way and check-in again. I doubt they'd let you board unless the docs for the entire itinerary are okay, though.