Imran Khan objects courts opening at midnight