On ocassion tricorp will search you. If you have illegal goods they'll take them from you. If you have 200 materia noirs worth 8 million you'll likely object to this.
If you escape from the battle then you'll face no consequences for your fighting. You can then land on the planet again and continue business.