How to determine the court's competence in the case