If the holding bracket on the car key is broken off, you can buy a new key (for a horrendous amount of money). But you can also simply print a suitable holder.
I decided for the latter.
The key sits tight in the holder and the installation needs some force.
If necessary, the key can be levered out using a knife or screwdriver.