For section 31(1) of the Sheriff Act 2009 substitute —
"(1) For the purpose of executing a warrant or other process or exercising a power under section 127, 128, 129, 130, 140 or 141 of the Fines Reform Act 2014 , the sheriff may direct either of the following to do something—
(a) the person named or described in the warrant or other process;
(b) the registered operator of a motor vehicle against whom an enforcement warrant has been issued or the driver of that motor vehicle;
(c) a person the sheriff considers is resisting or hindering the execution of a warrant or other process or the exercise of a power under section 127 , 128, 129, 130, 140 or 141 of the Fines Reform Act 2014 .".