TOKYO - A revision of Japan's century-old criminal law came into force on Thursday, imposing tougher prison terms for sex offenders and bringing changes that allow the state to prosecute even if charges are not brought by a victim.