^ Let me try...
_________STATION_________|
[][doors][][][doors][][][doors][][])
Basically the last set of doors at each end of the train would open to the platform like normal but the physical end of the body of the train would be outside the train platform. This is fine because you can only board the train through the doors. So who cares, really, if the end of the train is outside the limits of the platform. Its like an elevator cabin being bigger than its doors.
(Just look at all the area between the doors and the physical front of the train)
LINK