Suppose that an invention already exists and is patented and published.
Someone files a patent application for the same invention. It is approved because the examiner was not able to find the previous patent.
What happens now?
What if the person who holds the original patent files a lawsuit against the new filer of the same invention?