A nice, legal change of obligation of a subject to a government (10)
I believe the answer is:
allegiance
'obligation of a subject to a government' is the definition.
I can't judge whether this definition defines the answer.
'a nice legal change' is the wordplay.
'change' is an anagram indicator.
'nice'+'legal'='nicelegal'
'nicelegal' anagrammed gives 'llegiance'.
'a'+'llegiance'='ALLEGIANCE'
'of' acts as a link.
Can you help me to learn more?
(Other definitions for allegiance that I've seen before include "Loyalty to a group or cause" , "commitment to a cause" , "Loyalty (to a superior)" , "Fidelity" , "duty" .)