Supreme Court overturns lower court ruling by Sotomayor