Compliance: How RPA becomes legally secure