If somebody loves God, even if they are outside of the context of the Law, they will love His commands or directives because they are so personally identified with God, His wisdom and authority and relationship with humans.