A vacation bench of Justice Arun Tandon and Justice Anil Kumar passed the order on a Public Interest Litigation (PIL) filed by one Ranvir Singh.
The petioner sought a direction to stop the use of heavy mining machines like Focklane or JVCs in view of environmental protection concerns.
A direction was also sought for strict compliance of the court's orders to stop illegal mining.
On behalf of the state government, Additional Advocate General Bulbul Godiyal raised preliminary objection to the maintainability of the petition, stating that the matter related to Shahjahanpur district hence the PIL was not maintainable here.
She also sought time to file the state's response to the PIL and opposed the allegations.
The court, while passing the order, fixed July 13 as the next date of hearing.