Guidelines for the courts in dealing with habeas corpus petitions or petitions for police protection: SC