You’re correct that the patent should’ve never been awarded, but the regulation still caused a problem today - something that could’ve been avoided if a cause-effect analysis was done. This is a problem statement that is applicable to most regulation today.
This is why blanket bans are almost always bad.