I used the pass in my home country to go to the airport. I think it’s ok, the moblie pass lets you do it. And if it wasn’t ok it would take a very picky ticket conductor to pick up on it. In switzerland normally they just scan the barocde and don’t even ask to see id.