Whats The law on using ferry/train mode

ok thanks
i have used it before when on a daily rest period but last week i used it in normal shift time and it looked like a possible infringment if i had kept driving at 15:44

2017-08-11 21_24_14-GloboFleet CC Plus v2.10.1.png