What should we do if we are travelling on a conventional road and when turning right to enter a dirt track we find pedestrians walking on the shoulder?

A)Give way to them because the vehicle crosses a shoulder along which pedestrians are walking who do not have a pedestrian zone.Correct
B)We will pass first because the pedestrians are not crossing at a pedestrian crossing and do not have priority.
As a general rule, drivers have right of way for their vehicles over pedestrians, except in the following cases:
- At duly signposted pedestrian crossings.
- When they are going to turn with their vehicle to enter another road and there are pedestrians crossing it, even if there is no pedestrian crossing for them.
- When the vehicle crosses a shoulder along which pedestrians are walking who do not have a pedestrian zone.
- In pedestrian zones, when vehicles cross them through the passages provided for that purpose, drivers are obliged to give way to pedestrians walking through them.
- To pedestrians who are about to board or have alighted from a public passenger transport vehicle at a stop signposted as such, when they are between said vehicle and the nearest pedestrian zone or refuge.
- To troops in formation, school lines or organised processions.
- At duly signposted pedestrian crossings.
- When they are going to turn with their vehicle to enter another road and there are pedestrians crossing it, even if there is no pedestrian crossing for them.
- When the vehicle crosses a shoulder along which pedestrians are walking who do not have a pedestrian zone.
- In pedestrian zones, when vehicles cross them through the passages provided for that purpose, drivers are obliged to give way to pedestrians walking through them.
- To pedestrians who are about to board or have alighted from a public passenger transport vehicle at a stop signposted as such, when they are between said vehicle and the nearest pedestrian zone or refuge.
- To troops in formation, school lines or organised processions.