Welcome to the forum.
Assuming that you gave the railway accurate contact details, it's most likely that the railway will write to you some time in the next six months, asking for your side of the story. As you seem to accept that you have done the wrong thing, you should reply confirming what...