I've crossed the GER/NET border via train about 7 times over the last several years. I recall having to show my passport each time. One crossing, I even saw a pax get handcuffed and escorted off at the next stop (wasn't sure why - I assumed either he was illegal or possesing drugs).