A federal court judge in San Jose, California has ruled against Apple's petition to temporarily ban the sales of Samsung smartphones and tablets in the U.S. allowing the Korean products in market shelves until the start of the patent infringement trial on July 30, 2012.

District Judge Lucy Koh was not convinced of Apple's arguments that sales of the Galaxy S 4G, Infuse 4G, Droid Charge, and Galaxy Tab 10.1 will irreparably harm the Cupertino company.

In her 65-page decision on Friday, Koh saw the evidence presented by the two companies as harming Samsung more than Apple (AAPL) while the public interest is balanced between Samsung's right to fair competition and Apple's right to protection of intellectual property.

In its April lawsuit, Apple accused Samsung of copying the design of the iPhone and iPad for the latter's smartphones and tablet. Samsung countersued accusing Apple of using its patented mobile technology.

Samsung's initial court victory in the U.S. came on the same day an Australian court ruled to overturn a lower court's temporary ban on the sales of its smartphone and tablet in Australia. However, the two companies' court battles on the same issues in Germany and the Netherlands remain in favor of Apple as the Korean products remain banned in the market while the trials go on.

Samsung is the biggest seller of cellphones in the U.S. but Apple is the biggest seller of smartphones. Globally, Samsung is the biggest seller of smartphones surpassing Apple in the third quarter while it is the second-biggest seller of cellphones after Nokia.