Julian admitted he obtained an Romulan memory scanner, which is illegal tech. Between Sisko's "In the Pale Moonlight", Ross' "Inter Arma Enim Silent Leges", Julian's issue here and a few others I've forgotten, there were a lot of ethical gray areas explored on the show.