5. Every person, provided that he complies with the terms and conditions established by regulation, is entitled to a refund of the tax that he paid on gasoline:(a) when the gasoline was used to operate farm machinery, except a pleasure vehicle or truck, but only while the machinery was used for farm work, and provided that the principal occupation of the consumer is farming;
(b) when the gasoline was used to operate a fishing boat, but only while the fishing boat was used for fishing and provided that the principal occupation of the consumer is fishing;
(c) when the gasoline was used to supply a stationary engine;
(d) when the gasoline was used as an ingredient in a product manufactured by a person in the course of his principal occupation;
(e) when the gasoline was used for purposes of scientific research, experimentation or demonstration, unless it was used to supply an internal combustion engine;
(f) when the gasoline was used to operate a water pump, to the extent that it was used to fight forest fires;
(g) when the gasoline purchased in Québec by a person carrying on a business was exported and used outside Québec, unless the gasoline was put in a tank supplying an internal combustion engine;
(h) when the gasoline was used to operate a motor vehicle registered for use exclusively on private land or a private road, and used for farming, forest or mining operations as defined by regulation.