A few years ago I did Prague to Munich on the Alex train and the cheapest way was a three way split - one ticket to the stop before the border, another across the border, then after that I used a German 9 Euro ticket.
I accidentally showed the wrong ticket to the CD guard so it was obvious what...