An obligation to give up a seat is not very onerous. It should not be necessary to codify it, but sadly it has become necessary, a sign of the times.
That rather depends on who you are. As you'd probably agree it would be onerous for a pregnant woman. There are other people who have conditions which make it similarly onerous (which you seem to be ignoring).