@Hyolobrika @freemo I know of an example from germany where such happens.
Using public transportation without paying has brought people to jail, at least repeat offenders that cannot pay the fines. This is obviously inefficient (jail is expensive) and was thus widely detested, but exceptions are dependent on the individual transport services to not prosecute.