I want to compare two (non-linear) models, defined by two parameters $\beta_1$ and $\beta_2$. The first (null) model is nested inside the second (alternative) model. Specifically, in the null model, the second parameter is constrained to $\beta_2=0$. So far this is all very typical of course. Less typical, however (at least as far as I can tell), is that in my alternative model, $\beta_2$ isn't entirely free. Its constraint is relaxed, but only to $\beta_2\geqslant 0$.
I'm familiar with the typical case where $\beta_2$ would be unconstrained. In this case, I would simply compare the two models with a likelihood ratio test, using a $\chi^2$-distribution with 1 degree of freedom as the null distribution. But it seems to me that when the alternative model doesn't add a full degree of freedom to the null model, the same null distribution would not apply (and numerical simulations seem to agree with this intuition). The reason being that for about 50% of all 'null datasets', my alternative model cannot fit the data better than the null model (despite its additional parameter), because the MLE of $\beta_2$ would be less than 0, which violates the constraint set by my alternative model. So the best it can do in those cases it to set $\beta_2=0$, which is the same as the null model.
Is there a standard solution for this case? For example, could it be as simple as adjusting the degrees of freedom in the likelihood ratio test somehow (e.g. would the alternative model have an additional 0.5 degree of freedom in my scenario)? My own solution for now was to estimate the null distribution using a permutation test (by permuting the observations of the variable that $\beta_2$ acts on and refitting the model), but I'd prefer something more straightforward/standard if such a thing exists.