The Lucknow bench of the high court dismissed the PIL terming it as "not maintainable".
A division bench of justices Amreshwar Pratap Sahi and Sanjay Harkauli gave the order on a PIL filed by Ritu Raj Mishra after the state government opposed it.
The anti-Romeo squad has been constituted by the BJP-led Uttar Pradesh government for protection of girls and women against eve-teasing.