Ok so I'm rewatching "Pegasus" from TNG and wondering why...WHY would the Federation agree to a treaty where they aren't allowed to explore the possibility and technology of cloaking? This seems like a huge mistake. At the time they knew the Romulans had it, why would they want a potential enemy to have a huge advantage and not give themselves that advantage as well? It is weird.....
Here is a Memory Alpha link to the Treaty of Algeron that set up the Neutral Zone and outlined that the Federation couldn't use cloaking devices.
Anyone have any ideas?