The state government’s demand raises the risk of severe disruptions or a shutdown of Sydney’s passenger rail network if workers refuse to budge.