In particular natural=beach for the trekking profile. Routing around the edge of the way is acceptable.