I am not providing another answer to the question, but instead another example of the same sort as presented in the question. The example I present came up in the course of my research (as part of a Gibbs sampler within a Dirichlet process mixture model); in that sense it is not "contrived."
There is one observation $x$ drawn from an order-statistic distribution. The probability density for the $k$-th order statistic from a sample of $n$ iid draws from the uniform distribution on the unit interval is given by
\begin{equation}
p(x|k,n) = \textsf{Beta}(x|k,n-k+1) ,
\end{equation}
where
\begin{align}
n &\in \{1, 2, \ldots \} \\
k &\in \{1, \ldots, n\} .
\end{align}
Let the prior for $(k,n)$ be given by $p(k|n)\,p(n)$, where $p(k|n) = 1/n$ for all $k$ and $p(n)$ is an arbitrary distribution.
The posterior distribution for $(k,n)$ is characterized by
\begin{equation}
p(k,n|x) \propto p(x|k,n)\,p(k,n) = \frac{\textsf{Beta}(x|k,n-k+1)}{k}\,p(n) .
\end{equation}
The marginal posterior for $n$ can be computed by integrating out (i.e., summing out) $k$:
\begin{equation}
p(n|x) = \sum_{k=1}^n \frac{\textsf{Beta}(x|k,n-k+1)}{k}\,p(n) = p(n) .
\end{equation}
We see that the posterior distribution for $n$ is unchanged from its prior distribution.
The result is delivered by the adding-up property of order statistics. For example, suppose $n$ draws are made from the uniform distribution and sorted in order. Then one of the sorted draws is chosen at random (i.e., with probability $1/n$). This random choice "undoes" the effect of sorting so the distribution of the draw chosen via this mechanism is simply the underlying distribution, which in this case is the uniform distribution.
For completeness, note that the posterior distribution for $k$ conditional on $n$ can be expressed in terms of the following density:
\begin{equation}
p(k|x,n) = \textsf{Binomial}(k-1|n-1,x) .
\end{equation}