38. Revision. –
The High Court may, at any time, either of its own motion or on an application received in this behalf, call for the record of any proceeding in which any competent authority or Court of Session has passed an order for the purpose of satisfying itself as to the legality or propriety of any such
order and may pass such order in relation thereto as it thinks fit :
Provided that the High Court shall not pass an order under this section prejudicial to any person to any person without giving him a reasonable opportunity of being heard.