Some railway stations are border stations, where there are customs and previously passport control of both countries in the building. Such stations include Basel Badischer Bahnhof (located on Swiss territory near the border, but operated as a German station) and Konstanz station. It is possible to change trains without going through any border or customs control.