Once I was alive apart from the law: Paul might be referring to his early childhood, before he fully understood the law's demands.
but when the commandment came: Paul's experience with the law as he matured reflects everyone's experience. With the law, we have more accountability to God. This gives sin power and leads to greater judgment (7:10; see 4:15; 5:14, 20).