And in "The Pegasus
", we saw that even without
the Romulans gone, the Federation were free to develop cloaking technology and indeed the Enterprise
had a cloaking device...
They just couldn't admit to it in public. (Except that in the episode, they did, and apparently there was no ill effect.)