I don't think there is any regulation saying that you cannot modify a magazine to hold less rounds. I think according to the wording of the law, a magazine MUST be permanently modified in order to be legal. I don't possibly see how it'd be an issue to modify something to be legal.