The NSW government took the state's Rail, Tram and Bus Union to court a day before work bans were due to resume on Monday, a ...