Paragraph 22 Appeals: determination
The sheriff may uphold an appeal only if the sheriff considers that the Scottish Ministers—
(a)
erred in law;
(b)
based their determination on any incorrect material fact;
(c)
acted contrary to natural justice; or
(d)
exercised their discretion in an unreasonable manner.