Here is the conclusion of my story. -[My immigrant interview was on Nov 29 2022, and the visa was approved on the spot. However, I later received the DS-5535 form, and since Dec 1 2022 the case was stuck in administrative processing. Having waited for two months, I filed the lawsuit on Feb 1 2023 to compel the State Department to issue my visa.
The lawsuit deadline is April 24 2023. Magically, on April 4 2023 the US consulate in Amsterdam told me to repeat my medical exam and return my passport for visa issuance.
So, if you get the DS-5535, file the mandamus lawsuit on the NEXT day. Don't wait for 2 months, like I did. According to one experienced litigator, the Biden administration (luckily) does not fight these lawsuits at all, and they just print the visa, because it is more work for them to backfire at you.
Otherwise, it takes anywhere from 4 to 11 months for the DS-5535 to get cleared. This has horrible consequences for employment-based immigrants, because the priority date started to retrogress this year.
I hope this information would help others to get unstuck