prelawful
/ˈprɪˌlɔːfəl/Definitions
1. adjective
occurring, done, or existing before a law is passed or effective
“The prelawful sale of the property was contested in court.”
2. adverb
in a manner that was not yet against the law
“She behaved prelawfully until the new regulations were enforced.”