First, I need to see a real-life example where this use case makes sense. A one-to-one table relationship sjpuld not sllow this. If you want to change the parent, then the child entity should have its own id.
Probably an exception is worth throwing. You should create a Jira issue and assign it to me. Post the Jira issue link here when you create it.