Section 17(5)(b) in The Gujarat Agricultural Pests and Diseases Act, 1980
(b)any person who is carrying out the orders or directions of any such officer or person as aforesaid or who is otherwise acting in accordance with his duty in pursuance of this Act or any proclamations, orders or directions made or given thereunder,