It explained that this was "because the previous train, an engineers' on-track machine, had passed through the crossing in the opposite direction to normal".
The normal rules of search and seizure do not apply at a border crossing, so you may wish to re-think corporate policies if you or your employees routinely carry sensitive, proprietary, or even classified information when you travel.