@Nigel ********
The Thai trains coming and going to / from Thailand are on the one side of the station on separate tracks, the trains coming and going from Malaysia are on the other side of the station also on separate tracks. In between are both immigrations. Be aware that those immigrations only open when a corresponding train on the other side has arrived and waits there ready to leave. Thus, there can be some waiting time involved crossing forth and back.