what cannot be done directly, cannot be done indirectly

That in Ranjit Singh v. State of M.P., (2013) 16 SCC 797 it is ruled that the court is not permitted to do anything indirectly by passing unlawful orders when it is not permitted to be done directly. It is ruled as under; “27. In the said case it has also been observed thus: (Rashmi Rekha Thatoi case [Rashmi Rekha Thatoi v. State of Orissa, (2012) 5 SCC 690] ,) “37. … it is to be borne in mind that a court of law has to act within the statutory command and not deviate from it. It is a well-settled proposition of law what cannot be done directly, cannot be done indirectly. While exercising a statutory power a court is bound to act within the four corners thereof. The statutory exercise of power stands on a different footing than exercise of power of judicial review. This has been so 28 stated in Bay Berry Apartments (P) Ltd. v. Shobha [(2006) 13 SCC 737] and U.P. State Brassware Corpn. Ltd. v. Uday Narain Pandey [(2006) 1 SCC 479 : 2006 SCC (L&S) 250].”