Court rejects bail application