The definitive shape of the Lego bricks, with the inner tubes, was patented by the Lego Group in 1958. Several competitors have attempted to take advantage of Lego's popularity by producing blocks of similar dimensions, and advertising them as being compatible with Lego bricks. In 2002, Lego sued the CoCo Toy Company in Beijing for copyright infringement over its "Coko bricks" product. CoCo was ordered to cease manufacture of the products, publish a formal apology and pay damages. Lego sued the English company Best-Lock Construction Toys in German courts in 2004 and 2009; the Federal Patent Court of Germany denied Lego trademark protection for the shape of its bricks for the latter case. In 2005, the Lego Company sued Canadian company Mega Bloks for trademark violation, but the Supreme Court of Canada upheld Mega Bloks' rights to sell their product. In 2010, the European Court of Justice ruled that the eight-peg design of the original Lego brick "merely performs a technical function [and] cannot be registered as a trademark."
There are several robotics competitions which use the Lego robotics sets. The earliest is Botball, a national U.S. middle- and high-school competition stemming from the MIT 6.270 Lego robotics tournament. Other Lego robotics competitions include Junior FIRST LEGO League (Jr.FLL) for students ages 6–9 and FIRST Lego League (FLL) for students ages 9–16 (age 9–14 in the United States, Canada, and Mexico). Jr.FLL and FLL offer real-world engineering challenges to participants. FLL uses Lego-based robots to complete tasks. Jr.FLL participants build models out of Lego elements. In its 2010 season, there were 16,070 FLL teams in over 55 countries. In its 2010 season, there were 2,147 Jr.FLL teams with 12,882 total student participants in the United States and Canada. The international RoboCup Junior football competition involves extensive use of Lego Mindstorms equipment which is often pushed to its extreme limits.
Since around 2000, the Lego Group has been promoting "Lego Serious Play", a form of business consultancy fostering creative thinking, in which team members build metaphors of their organizational identities and experiences using Lego bricks. Participants work through imaginary scenarios using visual three-dimensional Lego constructions, imaginatively exploring possibilities in a serious form of play.