Boundary term involving curvature

Hi all,
I have the following set of equations (linear elasticity) which I want to solve in FEniCS.

The problem is that the boundary term is dependent on the local curvature of the boundary (kappa). Any ideas how to handle this kind of boundary condition?

Best
Dennis