Court is thus within the law (7)
I believe the answer is:
solicit
'court' is the definition.
('solicit' can be a synonym of 'court')
'thus within the law' is the wordplay.
'thus' becomes 'so' ('so' can be a synonym of 'thus').
'within the law' becomes 'licit' (I've seen this before).
'so'+'licit'='SOLICIT'
'is' acts as a link.
(Other definitions for solicit that I've seen before include "Ask (favour)" , "Petition - importune" , "Try to obtain (something) from someone" , "Invite, beg for" , "Beg or court" .)