Please review this thread: Legality of having a motor like this
or tl;dr: Follow up to motor cartridge q&a : Robot Events