Cloaking quick list of disadvantages (may be others as well - think submarines):
Passive sensor usage only
Movement restrictions
No active defenses (shields, powered armor, point defenses (uses active systems)
Weapons can't be powered up (or maybe severely reduced)
In other words, a cloaked ship has traded cover (protection) for concealment (hiding). Use of any system that radiates or leaves a trail that can be detected means that someone could detect where you are, but possibly, not exactly nor possibly be able to properly identify the owner of the vessel. If fact, the "owner" of the territory could be within his rights to assume that the cloaked vessel is a criminal and be able to fire upon it with impunity. Return or preemptive fire by the cloaked vessel, of course, would substantially reveal the location of the vessel, and if the fight continued beyond the unveiling of the vessel, be considered an act of war. (Possible ID of a destroyed or damaged cloaked vessel could also be cause for a declaration of war)