The court said using the state’s name and claiming a factual basis could trigger communal tensions in Kerala.