A lawyer for passengers claims prosecutions have been brought against people unable to buy tickets due to station machines not working and no staff being present